Forums

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

Home Forums CSS Can’t Eliminate Extra Pixel

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41531
    siouxfan45
    Participant

    See the problem here: [http://themeforward.com/demo2/](http://themeforward.com/demo2/http://themeforward.com/demo2/”)

    On the bottom of #index (in black), directly under .pagination (the newer/older links in blue) there is an extra pixel. It appears #index has an extra pixel of space being added when .pagination is set inside it. I’m unsure how to eliminate this extra pixel and would appreciate any help.

    #index {
    float:left;
    background:#000;
    width:630px
    }
    .pagination {
    padding:2em 0;
    clear:both;
    width:100%
    }
    .pagination a {
    background:#3300FF;
    padding:2em
    }
    #pagination .current { background:#DDD }

    #118632
    chrisburton
    Participant

    Try this:

    .pagination {
    padding: 5% 0;
    }

    #118640
    chrisburton
    Participant

    Weird. It worked for me.

    #118643
    chrisburton
    Participant

    I tried adding overflow: hidden but that didn’t solve the issue. If you add 5.025%, it works.

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