The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Vertical Alignment
Hi,
I’m making a website that has a fixed width en height. Is it possible to center this vertically? Horizontal is easy using a pagewrap with margin: 0 auto. I didn’t find anything about vertical center. Thanks.
Hi you can specify a margin-top using percent. Something like : margin-top:15%;
havent tried it myself, but it looks like its working:
http://d-graff.de/fricca/center.html