Forums

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

Home Forums CSS Navigation bar with image

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

    it is my target navigation

    but I have made this :(

    Here is my HTML code

    Here is my CSS

    #page-wrap #content aside ul li {
    float: left;
    height: 40px;
    width: 40px;
    list-style-type: none;
    margin-top:2px;
    margin-bottom:2px;
    margin-left:2px;
    margin-right:2px;
    display: inline-block;

    }

    whats wrong I have done ? How can I make it similar to target

    #122851
    Paulie_D
    Member
    #122852
    sshuvro58
    Participant

    http://pastebin.com/aNSdzk5E

    here is my HTML
    http://pastebin.com/dnpCFx4f , here is my CSS ,

    plz help me

    #122853
    wolfcry911
    Participant

    Paulie beat me to it, I would move the float to the li however.
    http://codepen.io/wolfcry911/pen/fJilx

    #122855
    sshuvro58
    Participant

    Thanks paulie its working

    #122856
    wolfcry911
    Participant

    Your placing an image (of any size) sized down to 60×50 px into a anchor of 40×40 with the overflow:visible, so they overlap…

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