WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Elements Not Centered (3 posts)

  1. Sphagnum
    Member
    Posted 8 years ago #

    Ok, so this is probably a rather simple problem... but I need some help please. I recently bought a new laptop with a 17" monitor and realized that when the screen is enlarged (I had a 15" before), my blog does not center itself in the browser.

    My blog is here:
    http://peatbog.net

    My stylesheet is here:
    http://peatbog.net/wp-content/themes/Green/style.css

    Can someone please tell me what needs to be changed so that the contents are centered in the middle of the page? I tried changing the main elements to "relative" instead of "absolute" as they are now, but that didn't do it like I thought it would. Please help.

  2. twat
    Member
    Posted 8 years ago #

    Hi,
    I don't know whether you googled this or checked the resources mentioned in the WordPress Codex.

    You might try looking at the following for hints:
    http://bluerobot.com/web/css/center1.html
    http://bluerobot.com/web/css/center2.html
    http://codex.wordpress.org/Know_Your_Sources

    Best,
    Kat, the Twat

  3. Sphagnum
    Member
    Posted 8 years ago #

    I had googled but hadn't been able to find anything satisfactory. That first link seems to be just what I was looking for. Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.