The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Add // to h1 tags

  • # February 6, 2010 at 11:02 am

    I was just wanting to know the best wat to add "//" At the begining of my text inside h1, h2, h3, and h4 tags. Could it be done with css or would I have to use javascript or even php? Any help would be great!


    # February 6, 2010 at 11:12 am

    This reply has been reported for inappropriate content.

    Can I ask why? Not certain, but I think adding // as text may have SEO implications so might be best to use a background image

    # February 6, 2010 at 11:29 am

    Just a design look I was going for, but if it will hurt my ranking I wont do it.

    # February 6, 2010 at 7:19 pm

    Ya a background image would probably be a good idea.

    You could also do it with jquery.

    Something like this:




    # February 8, 2010 at 5:08 am

    This reply has been reported for inappropriate content.

    if you dont want any code implications you can use &frast; &frast; that would give //.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed