Let’s say I have to following code –
<body>
<div id="outerdiv"
style="border: 1px solid blue; height: 150px; width: 150px;">
<div id="div" style="height: 100%; border: 1px solid black; margin: 5px;">
<div id="innerdiv" style="height: 100%;
border: 1px solid red; margin: 5px;">
</div>
</div>
</body>
</html>
This yields the following result in FF/Chrome:

In IE, it’s fine. The question is, how do I use ‘height:100%’ so it looks the way IE renders it in all browsers?
EDIT: Here is the result in IE9 (for me)
This is what I would like it to look like in all browsers using height: 100%.
Is that even possible?

I’m getting what looks like the first image on my copies of Safari 5.0.4, Chrome 13.0.782.41, and FF 3.5. Which is the expected behavior, but I’m not sure why Gaby and Yanir are seeing otherwise.
An alternate approach to setting
height:100%would be to set thetop,left,right, andbottomvalues in a few absolutely positioneddivs, like so:See http://jsfiddle.net/gCqqn/