Forums

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

Home Forums CSS Home Button Not Able to go Left/Centered

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

    Hello I just have small problem tried to fixed it looked around Google but for some reason my Home Button is floating to the right and not centered and or floating left. http://codepen.io/mwbcomputers/pen/djwml

    Have spent hour our so trying to find out on Google but stuck a bit.

    Thought I done everything correct.

    #131116
    Paulie_D
    Member

    You mean text-aligned right?

    #131117
    wolfcry911
    Participant

    add padding: 0; to #navigation

    some browsers use left padding (FF,Safari) and others use left margin (IE) for the default indent of lists. You’ll need to zero both for a specialized navigation list.

    #131118
    Paulie_D
    Member

    >You mean text-aligned right?

    Actually it’s not…there is padding that is automatically applied by browsers.

    Just add `padding:0;` to your #navigation CSS.

    #131120

    @Paulie_D And @wolfcry911

    Thanks for that stupid me should of picked that up. I never though to try that. Have gone from PHP to HTML for my main website and will use php/html for my products store.

    #131131

    @Paulie_D @wolfcry911

    Just a update I have added sub level menu can you just test it out and let me know http://codepen.io/mwbcomputers/pen/zchgI

    #131133
    Paulie_D
    Member

    Looks fine

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