I have an old layout that uses tables and I need to make a DIV to use the entire space of a TD. The CSS works fine in Firefox but IE interprets the 100% height as the entire window and doesn’t take in account the presence of other elements on the page.
A working example can be seen in this Fiddle: http://jsfiddle.net/micahSan/JeA6m/
Firefox will see the DIV as 100% height of what’s remained but IE will see it as 100% of the entire page.
How can I make IE match Firefox?
Thank you in advance for your advice.
I don’t know wether exists more cleaner solution for this but with
IEare still problems 🙁 I don’t still understand why many people usingIEso guy must still create separatedCSSstyle forIE… so let’s back here. Problem is thatIEdon’t respectheightof<TD>in<TABLE>i think. So i created this temporary solution, add this to yourCSSfileso this
height: 45% !importantis IE hack and it will be work only for IE.Or instead of using the
heightattribute because of these problems you can use aspacer. For example a transparent small pic which you set the height you want.