Can't code the buttons right |
Can't code the buttons right |
Neoed |
Oct 24 2016, 01:08 AM
Post
#1
|
Newbie Group: Members Posts: 17 Joined: 16-September 13 Member No.: 19,741 |
So I'm trying to code my nav links into boxes like these:
http://i132.photobucket.com/albums/q39/neo...psn9n9yfbi.jpeg but I'm getting this: http://i132.photobucket.com/albums/q39/neo...zpss8qrqr2b.png The text style direction none isn't working as well to remove the bullets. I've played with it a little but it just isn't working out right. Anyone know what I could be doing wrong? Any help is appreciated. |
pandy |
Oct 24 2016, 01:13 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Please post the HTML to go with that.
|
Neoed |
Oct 24 2016, 08:03 PM
Post
#3
|
Newbie Group: Members Posts: 17 Joined: 16-September 13 Member No.: 19,741 |
Sorry about that, the html:
|
pandy |
Oct 24 2016, 10:00 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
The bullets are on the LIs not on the UL. And margin and padding can be placed both here and there depending on browser. I usually do it all in one fell swoop. Like this.
CODE nav ul, nav li { list-style: none; margin: 0; padding: 0 } That seems to get it about right. You can add back any margin and padding you may actually want below that rule. |
Lo-Fi Version | Time is now: 24th April 2024 - 02:31 PM |