Okay so I want to place a relative division inside an absolutely positioned division.
This isn't the code from my website but is good enough for demonstration. So I want to absolutely position one division, then within that division I want to center another one, and have it spanning the full height of the absolutely positioned one. This code works fine in FF & Chrome, but in IE for some reason the height will only expand when content is stuck into the relative div. How can I fix this?
Cheers, J
Code:
<div style="position:absolute;left:50px;right:50px;top:50px;bottom:50px"> <div style="position:relative;margin:0 auto;height:100%;width:500px;">testing123</div> </div>
Cheers, J
Comment