Hi there,
Basically I have this:
Basically, I want to horizontally center DIV2, and vertically if possible.
....bit out of the loop with xhtml/css atm....is it possible?
Thanks.
EDIT:
Before you say it:
...doesn't work in IE.
Basically I have this:
Code:
<div id="div1">
<div id="div2">
</div>
</div>
Code:
#div1{height:100%;width:100%;position:absolute;bottom:0;right:0}
#div2{background:#fff;width:600px;height:600px}
Basically, I want to horizontally center DIV2, and vertically if possible.
....bit out of the loop with xhtml/css atm....is it possible?
Thanks.
EDIT:
Before you say it:
Code:
margin{0 auto}
...doesn't work in IE.
Last edited: