SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict michaelwheaton's Avatar
    Join Date
    Jan 2001
    Location
    Alberta, Canada
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Netscape - Displaying Improperly

    I've spent a lot of time trying to make this new design I'm working on display properly in Netscape. I've fixed many of the errors, but there is still a problem on the left column I can't figure out.

    The site I'm referring to can be found at Your-Daily-Laugh

    If someone could please take a quick look and recommend a fix I would really appreciate it. It usually ends up being something simple.

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's because your nested TD's are inheriting the background attribute of the cells above them. In this chunk of code:
    <table width="750" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="200" valign="top" class="sidebar" align="center">
    <table width="180" border="0" cellspacing="0" cellpadding="5">
    <tr>
    <td bgcolor="#336699" class="sidebarhead"> <center>
    Navigation </center></td>
    </tr>
    <tr>
    <td bgcolor="66CCCC" class="navigation"> <div align="center"> <a href="archive_joke.htm">Jokes Archive</a><br />
    <a href="archive_cartoon.htm">Cartoon Archive</a><br />
    <a href="webmaster.htm">Webmaster Page</a><br />
    <a href="contact.htm">Contact Us</a><br />
    <a href="privacy.htm">Privacy</a></div></td>

    The TD, earmarked as "navigation" is inheriting the background from the TD earmarked as "sidebar". In the TD tag for "sidebar" try putting this line:

    background="*"
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    SitePoint Addict michaelwheaton's Avatar
    Join Date
    Jan 2001
    Location
    Alberta, Canada
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the suggestion, but unfortunately it didn't work. I've also tried a spacer image and defining each TDs width, but neither made it look right.

    I just noticed that as the page loads I can see the correct look for just a second, and then in a flash it disappears and is replaced by the orange.

    I've tried everything I can think of. Does anyone else have a suggestion?

  4. #4
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    greetings..
    I just glanced through the site in question.. BTW.. have you checked in NS6.. lots of whitespace between some tables (probably caused by a spacer gif) and background color for page does not display..

    This is just myho.. HTML tags will overide the classes to which you refer.. for instance if you have assigned the class "navigation" to a table (tag) then go back and assign a bgcolor with HTML, the HTML tag takes priority.. If you want to specify that color manually you shoud use the inline CSS syntax. Otherwise you sort of defeat the purpose.. I would try assigning a class for each table and cells within that table.. leave html stuff out.. Either that or use plain old html to assign your table cell colors and use your linked stylesheet only for fonts and links.. I hope this helps..

    best regards..
    Will C.

    p.s. hey people are actually paying attention to xhtml.. good boy
    Last edited by wolfie265; May 20, 2002 at 08:31.
    I don't know sh*t and have the certificates to prove it

    www.bootlegwebdesign.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •