Jump to content

jlhaslip

Members
  • Posts

    2,568
  • Joined

  • Last visited

Posts posted by jlhaslip

  1. The highlight tag as defined in that link creates a background colour similar to using a 'Highlighter' on a textbook or a page of notes from a school lecture. It simply changes the background colour for a block of text. Not the foreground colour as per Jonas' posting.It is actually quite useful for indicating changes to code snippets.

  2. I am a Mod at another Forum that uses IPB and we have an "sql" bbcode and a "highlight=color" bbcode.

    if(isset $_GET['id'])){$id = $_GET['id'];// --------- here code to connect to mysql and select database -----------$query= mysql_query("delete FROM comment where id =$id")or die(mysql_error());}

    [highlight=yellow] test this forum [/highlight]*edit* I guess the highlight code is maybe something added over there by the Admins. Doesn't seem to work here.A Tutorial can be found at the trap17 Forum.The conText editor also display files using the file extension as a guide to the colour coding. Wonder how that is done???

    Text

    This span and <p> seem to be the culprits. They ae actually right down at the bottom of the code for the page, but within the outer-most table. There are a pile of tables in there, and I didn't track the nesting, but simply move this code to the correct place in the table structure to have them moved from displaying at the top of the page.

    <span class="ebook"><a href="http://www.scientifictrader.com/ezgaffurl.php?off=klaymeis &pid=9">Get a hold of one of the most popular e-books </a></span> <p id="cashcards">dreaming of being paid weeklyas an Affiliate? <a href="http://www.cashcards.net/rep/240437.affiliates.html">join cash cards international</a></p>

  3. I think the blue border is moving because you have defined the margin as a %'ge of the window size, so when the display window gets smaller, the border moves.Set the margin-left to be just a little bit bigger than the width of the sidebar and you should be okay. Example:

    .sidebar{width: 12em;		display:block;		border: 0px  solid #dd6666;		color: #000000;		text-align: left;		width: 200px;}#sbmenu1 {		 margin-bottom: .5em;		 display:block;}#sbmenu2 {		 margin-bottom: .5em;		 text-align:left;}#rightcol{margin-left:12.5em;padding: 0px 50px 0px 20px;text-align:justify;border-left: 10px #1a3c69 solid;}

    Let us know if that works, please.

    Text

    www.geocities.com/kkisie2000.e-commerce.htm doesn't work.The other link has this code :

    	  <a href="http://www.tutorialsgalaxy.com/index.php?reftypid=affiliate&linkid=32&refid=225" ></a><a href="http://www.tutorialsgalaxy.com/index.php?reftypid=affiliate&linkid=33&refid=225" ><img src="http://www.tutorialsgalaxy.com/images/banner/banner05.gif" alt="Tutorial" border="0" /></a></p>

    immediately following the body tag, so that is what will display first. If this is the code in question, simply move the code and place it where you want to show.

  4. You will be able to change the 'style' of the links using an external CSS file, but not the destination of the links. In order to make a 'module' which gets added to each page you serve to clients, check out using a php 'include'. This will allow you to adjust the links and have them displayed on every page which has the 'include' file 'included' in it.Similar to a CSS file, the div for the links can be defined and altered external to the pages and then when you 'include' them, they get added to the page being presented to the client requesting them. This makes modifying multiple pages on your site quite easy. You will need to have a Hosting service which offers php and rename your files to have a php extension (or mod your .htaccess file to parse as php).

  5. Sure, just tell to not do like the code you display says...Are you talking a Table-based layout? or div's? or whatcha-ma-callits?Point is: maybe if we had some code, maybe the answer is available.

  6. Bite Me, It might be 'pointless', but your reply didn't assist the original poster a single bit.Please review the purpose of this Forum and remember back to when you first started Programming and people assisted you. To show the disdain I regard for your posting, I will not even return the *gesture*, but I considered it.

  7. Alter this link to go to your Home page and then simply duplicate the Menu of links on each page.

     <a href="#" class="masthead-mainlink">Home</a>

    Replace the '#' with the actual link to the Home page. And the same for any other occurence of '#'. The '#' link stays on the same page, so the link activates, but doesn't go anywhere.

  8. Is it possible to divide a webpage into three sections with variable width margins and a fixed width central section (600px) without using a centrally aligned table? Are there accessibility issues with nesting centrally aligned tables for visually impaired users? I'd appreciate any help.Catriona
    What are you referring to as "variable width margins"? The fixed central column is easy enough. Set body {width:600px; margin-left:auto;margin-right:auto; text-align:center;}. Then reset the margins on the child elements after this to get left-aligned or whatever, but that should centre the Body regardless of the window size. Now if you could define the "variable width margins", we can answer this question better, maybe.
  9. Is that a blank line before the opening php tag? or just the way the code is displayed inside the bbcode code tags? If there is a blank line in your actual code, that's the problem. The blank line should be removed.

×
×
  • Create New...