Forums

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

Home Forums CSS Forward slash between menu items

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31839
    Rugg
    Participant

    Hello…

    I would like to integrate a forward slash between menu items (acting as a divider) so it doesn’t take on the link attributes as the menu items surrounding it.

    Here is an example…

    http://www.tokyodigital.co.uk/

    Thank You!

    #57205
    chrisburton
    Participant

    or use span and give it a class name incase you want to style it with a color.


    /

    span.f-slash {color: #444;}
    #57359
    TheDoc
    Moderator

    Actually, I would do the opposite of that, Chris.

    You don’t need to put a span around it because you should be able to simply target it because it isn’t part of the link.

    Eg:

    li { color: black; }
    li a { color: grey; }

    #57213
    chrisburton
    Participant

    Yep, you’re absolutely right, Gray. My mistake.

    #57173
    davidlab.be
    Participant

    they might be using sprite, but for something that simple it totally is not needed.

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