Forums

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

Home Forums CSS Problem with content in footer

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #33989

    i want to float links in the footer to the right but when i write the code the links stick to the scroll bar but it should stick to the right of the footer

    #footer {
    background:url(images/footer.jpg) no-repeat;
    clear:both;
    height: 83px;
    width: 970px;
    }

    #footer ul li a {
    float: right;
    }
    #85288
    TheDoc
    Member

    You are floating the items to the right, not to the left.

    #85289

    #TheDoc sorry i wrote left in the thread :D

    I edited it :D

    #85291
    poochiepiano
    Member

    What happens when you use right:0px;

    Or, maybe you need to put the stuff in the footer in a child element of #footer.

    #85295
    wolfcry911
    Participant

    You’re floating the anchors, but the li are block level by default. I’d switch them and float the li and make the anchors block

    #85328

    #wolfcry911 i tried but it didn’t work

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