- This topic is empty.
-
AuthorPosts
-
April 9, 2013 at 7:15 am #43980
CarraraWebsiteSolutions
ParticipantHello 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.
April 9, 2013 at 7:34 am #131116Paulie_D
ModeratorYou mean text-aligned right?
April 9, 2013 at 7:35 am #131117wolfcry911
Participantadd 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.
April 9, 2013 at 7:37 am #131118Paulie_D
Moderator>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.
April 9, 2013 at 7:52 am #131120CarraraWebsiteSolutions
Participant@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.
April 9, 2013 at 10:45 am #131131CarraraWebsiteSolutions
ParticipantJust a update I have added sub level menu can you just test it out and let me know http://codepen.io/mwbcomputers/pen/zchgI
April 9, 2013 at 10:55 am #131133Paulie_D
ModeratorLooks fine
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.