- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi everyone, I’m new here, although I know this site for quite a time now.
I would like to get help on one issue I encounter with my css stylesheet. First, here’s the html code I want to style:
So I would like to add space between those links so they’re not glued together (they are inline btw). I tried with the “word-spacing” rule, but it doesn’ work.
Any idea, peops ?
CSS:
footer li { margin: 0 5px; }
#footer a {
margin-left:10px;
}
I do that on the top nav at Hollywood Nose. I’m either doing it with the li or a tag.
Thanks a lot! I should have thought about it, damn it :P
be attention ..
margin : 0px 5px ; /* 0px = (up/down) 5px = ( right/left ) */
thats means this (
i hope u got this ..
btw just put margin either left or right .. and because the language you used it left to right language just apply :
margin-right : X px;
and make sure use ( nth child ) or ( :after pseudo element ) ..
Wow, thank you but I don’t understand your final advice:
( nth child ) or ( :after pseudo element )
Does that mean that I have to put the margin rule in sth like this in my css ?
footer nav ul li:last-child { margin-right : X px; }
And why ?? Thx