html - height 100% inside a is not working in IE -



html - <table> height 100% inside a <td> is not working in IE -

<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head> <style> html,body, #outer, .innerpages {height:100%; padding:0px; width:100%; } </style> </head> <body> <table id="outer"> <tr height="100px"><td>header</td></tr> <tr> <td> <table class="innerpages"> <tr> <td>left</td> <td>right</td> </tr> </table> </td> </tr> <tr height="30px"><td>footer</td></tr> </table> </body> </html>

if add together height of 100% td should work in ie.

see fiddle: http://jsfiddle.net/zgp3k/2/

as can see in html, changed header bit too.

html table height

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -