quote:
Originally posted by Johny
div.box {
width:700px;
height:500px;
margin:0 auto;
}
and at the code
<br>
<br>
<div align="center" class="box">
blabla
</div>
and use breaks <br> to "center" it
not actually sure if that noob shit will work
i'm actually at w3schools trying to learn something about it..
lol yeh, that's the easy part.
quote:
Originally posted by hmaster
"CSS level 2 doesn't have a property for centering things vertically. There will probably be one in CSS level 3. But even in CSS2 you can center blocks vertically, by combining a few properties."
read more : http://www.w3.org/Style/Examples/007/center.html
Google has some good results:
http://www.google.co.uk/search?client=firefox-a&r...btnG=Google+Search
vertical-align will only work if its in a table and you are looking for pure css..
hmm yeh i tried google but they all used tables or didnt work for me.