Friday, April 20, 2012

Vertical Align Wrapper

I'm messing around with a website out of boredom, and trying to figure out how to vertical align my wrap, which I am failing at lol. I've already horizontally aligned it, and just need help vertical aligning it. (Yes, I have tried vertical-align:middle, but it doesn't work).



    * { margin:0;  padding:0; }
html { height:100%; }
body { background:/*url(images/bg.jpg)*/#14181a; }
#wrap { width:960px; height:55%; margin:0 auto; background:#293033; }

<div id="wrap">
<div id="logo"></div>
<div id="navgation"></div>
<div id="content"></div>
<div id="footer"></div>
</div>




No comments:

Post a Comment