Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Vertical Alignment

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23515
    begetolo
    Participant

    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.

    #50892
    Chocopunk
    Member

    Hi you can specify a margin-top using percent.
    Something like : margin-top:15%;

    #50896
    Argeaux
    Participant

    havent tried it myself, but it looks like its working:

    http://d-graff.de/fricca/center.html

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.