WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Double Borders on other pages (5 posts)

  1. steenface
    Member
    Posted 6 years ago #

    Here is the block of CSS that seems to be creating problems:
    #main {
    width: 930px;
    margin: 0 auto;
    background:#fff;
    border-top: none;
    border-left: #000 3px solid;
    border-right: #000 3px solid;
    }

    On my homepage, it creates a nice 3-px border and looks fine: http://www.steenface.com/

    But on my other two pages (About & The Others) the left border is doubled like so: http://www.steenface.com/?page_id=548

    I had to insert the border-top: none; line to get rid of the black line at the top but if I do the same to get rid of the border-left, it erases the left border completely from my home page.

    Any ideas?

  2. Jerry
    Member
    Posted 6 years ago #

    Looks like a width problem! Delete the width:930px; see what happens!

  3. steenface
    Member
    Posted 6 years ago #

    I tried that it just turned it into a fluid-width format... with the double borders, haha.

  4. Jerry
    Member
    Posted 6 years ago #

    OMG I just realized I was only looking at the "Flickr" thingy! lol I'll look again!

  5. steenface
    Member
    Posted 6 years ago #

    I actually found out the problem with the help of a friend. It was so simple! Whoever created the template added a div tag to EVERY .php file so it was pulling the #main info twice, hence the double borders.

    D'oh!

    Thanks for the help though. :D (And the comment!)

Topic Closed

This topic has been closed to new replies.

About this Topic