Forums

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

Home Forums CSS How to apply word spacing on a footer nav ?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #36091
    dalecooper
    Member

    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 ?

    #94530
    jamygolden
    Member

    CSS:

    footer li { margin: 0 5px; }
    #94538
    grizzam
    Member
    #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.

    #94559
    dalecooper
    Member

    Thanks a lot! I should have thought about it, damn it :P

    #94560
    dagash
    Participant

    be attention ..


    margin : 0px 5px ; /* 0px = (up/down) 5px = ( right/left ) */

    thats means this (


    jhon



    adam



    erik


    )
    so it makes double space ..

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

    #94578
    dalecooper
    Member

    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

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