|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS: problems with the height property
I'm developing a site which is based on CSS and XHTML.
I have a div which uses the "height" property with a percentage value. The height of the div box is supposed to be 100%, and that works in both Opera, Mozilla and even IE 5 and 5.5, but not in IE 6! In IE 6 the height of the box is only relevant to the containing text, and not relevant to the browser window. This means that the div is far from 100%. What can be done to work around this? |
|
#2
|
|||
|
|||
|
You could retrieve the height of the window and then adjust the value of the div height using that value if the browser (using some browser sniffing) is IE 6.0
__________________
Dave Pedowitz |
|
#3
|
|||
|
|||
|
Thanks, man. I ended up making a script that makes a specific style to IE 6.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS: problems with the height property |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|