How can I center a page with CSS?

Home Forums Web Design How can I center a page with CSS?

This topic contains 2 replies, has 3 voices, and was last updated by  tritandominic 3 years, 9 months ago.

  • #1014


    Participant

    Pretty new to CSS, so this is problably very simple: I need the content of each and every page on my site to be centered horizontally. Been trying position absolute, but I want the page width set in percent, and that doesnt seem to work with position absolute.

    Any suggestions?

     

You must be logged in to reply to this topic.