SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    THis is a continuation of this thread:

    http://www.sitepointforums.com/showt...threadid=16855

    After some work I brought this page down to the bare table cells.

    Code:
    <html>
    <body>
    <table width = "100%" border = "0" cellpadding = "0" cellspacing = "0" cols = "3" rows = "2">
        <tr>
            <td width="132" bgcolor = "blue" height = "100" colspan = "1">&nbsp;</td>
            <td bgcolor = "green" colspan = "1">&nbsp;</td>
            <td width="17" bgcolor = "pink" colspan = "1">&nbsp;</td>
        </tr>
    	<tr>
            <td width = "132" valign="top" align = "center" bgcolor = "black" height = "300" colspan = "1">&nbsp;</td>
    		<td valign="top" colspan = "2" bgcolor = "purple">&nbsp;</td>
       </tr>
    </table>
    </body>
    </html>
    Now I see no reason why this should not display correctly, however when viewed in NS 4.5 the top left column is twice its predefined width (132 to 264) and also the top right column is twice its predefined width (17 to 34).

    It seems to me to just be a netscape bug. However while messing around with it it did start to work. Yet as I cleaned away code it reverted back to not working and I was unable to reproduce my results (damnit coding should not be so scientific with trial and error).

    Anyways. Copy that code, make a page, and test it for yourself.

    (ps be sure to but non-breaking spaces (& n b s p) in each table cell for NS to display them at all)
    Chris Beasley - I publish content and ecommerce sites.
    Featured Article: Free Comprehensive SEO Guide
    My Guide to Building a Successful Website
    My Blog|My Webmaster Forums

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2001
    Location
    MA
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It actually didn't work for me in IE until I removed the "cols="3"" part... but it still didn't work in netscape...
    http://www.overclockedhardware.com

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2001
    Location
    MA
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I got it this time!
    Remember how you said that I need to define the width of the top middle frame? And I said that it was just supposed to stretch out? Well I guess Netscape needs a lil more help than IE... just add 'width="100%" ' to the <td> tag for the top middle one!
    Check it out:
    http://www.overclockedhardware.com/guides/guides.html

    Does it work in all browsers now?
    http://www.overclockedhardware.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
  •