 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
BushGates
Joined: 12 Dec 2004 Posts: 3
|
Posted: Sun Dec 12, 2004 8:29 pm height = 100%... OF WHAT? |
|
|
|
Hi,
I've been developing my webpage and ran into the following dillema:
My page works perfectly in Mozilla and FireFox
Opera and IE 6 fail to display it as intended.
(http://homepages.paradise.net.nz/~coolbest)
Basically to sumamrise the problem: i have a table inside of a table. Table thats inside needs to occupy 100% of the height of the parent table. Mozilla and Firefox do it as expected - by setting height = 100% attribute of the table. In case of IE 6 it seems that height = 100% in MS terms is 100% of the availible screen, but not all of the space on the page. Opera just ingnores 100% all together (i'm not too worried about opera - usage stats r against it). But IE is a biggie.
Getting the size of the table to the required height wouldn't scale well in my case. So filling it up with <br> is out.
Am i missing some small detail out somewhere? Or if its just the way that IE does things, how do i get around it?
Please help,
Nick Goloborodko
P.S. i am aware that height attribute is not officially defined in HTML, but... |
|
romeonate
Joined: 16 Dec 2004 Posts: 16
|
Posted: Thu Dec 16, 2004 12:49 pm |
|
|
|
(replied to in another post, but here again for reference)
Hey BushGates..
I often do coding like that.
have a Parent table with Defined Width/Height, with a Sub-Table whos width is 100%.
In IE, it works fine for me, no problems.
In your Table Coding, are you also defining, "Cellspacing" & "cellpadding" ?
I always keep those at zero ( cellspacing="0" cellpadding="0" ) |
|
BushGates
Joined: 12 Dec 2004 Posts: 3
|
Posted: Thu Dec 16, 2004 4:23 pm |
|
|
|
| romeonate wrote: |
(replied to in another post, but here again for reference)
Hey BushGates..
I often do coding like that.
have a Parent table with Defined Width/Height, with a Sub-Table whos width is 100%.
In IE, it works fine for me, no problems.
In your Table Coding, are you also defining, "Cellspacing" & "cellpadding" ?
I always keep those at zero ( cellspacing="0" cellpadding="0" ) |
Thanks for the reply, i fixed the problemm... Basically its been in 1 line of code at the very top...
| Code: |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
And once i have removed it it all worked
Once again, thanks for the help.
Nick |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|