fixed height IE

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
In example below, Firefox and Opera have fixed height of footer and
header .
IE gives wrong height for this cells. Why?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
" ">
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
<style type="text/css">
* {margin: 0;padding: 0}
body, html {height: 100%}
#header{height: 100px}
#footer{height: 20px}
TABLE {height: 100%}

<table border="1">
    <td id="header">header</td>
    <td id="footer">footer</td>


Re: fixed height IE

Wacek wrote:
Quoted text here. Click to load it

have you tried HTML strict?  Not sure if it will work, but it may

- Nicolaas

Site Timeline