table height (should've been simple)
I've got a table that works fine in IE 5.0/.01/.5 but I just tried it in IE 6 and I've got a major table height problem. [URL=www.mikesussman.com/mikepatty.php ]Check out this page[/URL] and in IE 6 you'll see that the main content area (*behind the floating table area*) compresses upwards because there's no content to force it open (except for two dots I put in there as a test). This problem has nothing to do with the floating table because I can see it on other pages in my site, but it's not as obvious as the pages with no "static" content.
Here's the basics of the code I used. In an attempt to try everything I can you'll see I put height=100% in three different places, even though I think they're not all valid.
- - - - - - - - - - - -
// this is just a top row for the header
// this is the row/cell that won't expand full in IE6
(content would go here)
- - - - - - - - - - - -
Any advice/help. Thanks.
Suzanne posted this at 18:45 — 16th December 2002.
She has: 5,507 posts
Joined: Feb 2000
You can hinge the table differently so it is held open by another row or cell. It's hard to tell with such a small snip (for me) -- the source or an url would be much better.
Also, you should, when using CSS, move as much as possible into the CSS. And quote your attribute values. That will save you oodles of grief rather than mix and matching HTML and CSS within the HTML code.
fifeclub posted this at 19:32 — 16th December 2002.
He has: 688 posts
Joined: Feb 2001
I'm not sure what you mean, but here's the url from above if you want to see all the code. http://www.mikesussman.com/mikepatty.php
Busy posted this at 22:29 — 16th December 2002.
He has: 6,151 posts
Joined: May 2001
you shouldn't use height=100% on anything, especially in tables, the browser dosn't know what to gauge it on, 100% of what? 100% of the table size? and the table size is 100% of what, 100%? so you have 100% of 100% of nothing fixed, but if that table is nested it could be 100% of 100% of the outer table height, maybe it's 100% of the screen size, but is the screen size maximised? if it's not it can't change (NS can) if the window is resized as it's a static page ... - confused?
that link (both) can't be found
fifeclub posted this at 05:24 — 17th December 2002.
He has: 688 posts
Joined: Feb 2001
Great timing on my part. My host servers went down just as I posted last and they were down for about four hours. But it's back now and those links should work now
Busy posted this at 09:06 — 17th December 2002.
He has: 6,151 posts
Joined: May 2001
Murphys law huh
Nice little gismo, the tabs take a while to switch thou.
If it's the grey table, make it a fixed height image or use a clear image, using height in tables has different effect on different browsers due to how they deal with blank space (and if font size surrounds it)
your layout crashes NS4.7 btw
fifeclub posted this at 16:30 — 17th December 2002.
He has: 688 posts
Joined: Feb 2001
Yeah. I'm looking into that mystery. I may end up posting about it if I can't figure it out. The bigger mystery besides why it crashes in NS4.7 is the fact that that page should never have loaded in the first place. I've got a script that says 'if NS4, load a different safe page' that should work perfectly but it's failing somewhere. I'm double cecking everything to make sure it's now a misspelling or something simple.
Abhishek Reddy posted this at 01:40 — 18th December 2002.
He has: 3,348 posts
Joined: Jul 2001
Heh, that's too ironic.
fifeclub posted this at 16:07 — 18th December 2002.
He has: 688 posts
Joined: Feb 2001
huh?
I did a bunch of fiddling last night but none of it dealt with the main table's height problem in IE6 (the reason for this thread). Yet I checked IE6 today and unless I'm crazy, the table height is opening up as I wanted. Great, but that just freaks me out when I don't know what caused the change. Oh well, don't look a gift horse in the mouth (for whatever that dumb saying means).
Suzanne posted this at 16:12 — 18th December 2002.
She has: 5,507 posts
Joined: Feb 2000
Don't look a gift horse in the mouth relates to the fact that when buying a horse, you check its quality by examining, among other things, its teeth. So if you look a gift horse in the mouth, you're rudely examining the quality of a gift.
http://search.netscape.com/redir.adp?appname=MS&query=dont%2blook%2ba%2bgift%2bhorse%2bin%2bthe%2bmouth&url=http%3a%2f%2fwww%2ehalfbakery%2ecom%2fidea%2fModern%5f20Aphorisms&datasource=Google&partner=Google&clickedItemRank=3&requestId=cns66401&component=websearch.google.http.tcl&searchType=MS&clickedItemType=MS&brand=NSCP&query=dont%2blook%2ba%2bgift%2bhorse%2bin%2bthe%2bmouth&view=nscp_portal&channel=nscp_portal&source=NSCPRedirect&invocationType=-
As for the question, you had a pile of typos in your post explaining you were going to look for typos...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.