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
  • #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.

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

    Thought I done everything correct.


    You mean text-aligned right?


    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.


    >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.


    @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.


    @Paulie_D @wolfcry911

    Just a update I have added sub level menu can you just test it out and let me know


    Looks fine

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