SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: Embeded Tables

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2001
    Location
    New Zealand
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi guyz,

    IE5.5 has been really annoying to me ever since I installed it 2 nights ago. When I try to embed a table ( with the height set to 100% ) inside another table, the embeded table does not expand to the entire height as it does in IE5. This is really annoying as it means I might have to totally redesign my site. Are there any ways to get around this?

    Thanx in advance for your help


  2. #2
    I'm baaaaaaaaaaaaack! Fluffykins's Avatar
    Join Date
    Aug 2000
    Location
    Manchester, UK
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible that the cell padding and cell spacing attributes of the outer table aren't set to 0?

    You could also try setting the cell spacing of the inner table to 0 as well, and see if that helps.

    Ady
    v-technologies - Freelance Goodness.

  3. #3
    SitePoint Member
    Join Date
    Feb 2001
    Location
    New Zealand
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LOL yea they're set to 0
    The tables jsut wont expand at all when I put in a percentage value, they do expand however when I put in a specific pixel value

    Thanx for your suggestion

  4. #4
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi zippow,

    The height attribute of the table tag has never been part of the html standard but IE and Netscape supported it. It might be that in IE5.5 that support has been dropped.

    Have you tried setting the height as a style attribute instead.

    Code:
    <table border="1" cellspacing="0" cellpadding="0">
    <tr>
    	<td width="300" height="300">
    		<!-- Inner table -->
    		<table style="height: 100%" width="100%" border="1" cellspacing="0" cellpadding="0">
    		<tr>
    			<td>&nbsp;</td>
    		</tr>
    		</table>
    		<!-- End of inner table -->
    	</td>
    </tr>
    </table>
    I tried this in N6 and IE5 and it works ok but I haven't got IE5.5 installed.

    Shane

  5. #5
    SitePoint Member
    Join Date
    Feb 2001
    Location
    New Zealand
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks alot for your suggestion shane, but it still didn't solve my problem
    the "height="100%"" thing works fine in IE5 but it doesn't appear to work in 5.5, a real bugger
    Thanx again for your suggestion

  6. #6
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Maybe you can post your code so we cna have a look?


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
  •