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

CSS Hide text in p tag command

  • # May 9, 2010 at 10:50 am


    Would someone be kind enough to let me know is their a css command to hide the text in a p tag?

    Many Thanks and Kind Regards


    # May 9, 2010 at 4:32 pm

    You could add a class to the p tag in the html
    <p class="hide">Bla bla</p>

    in the CSS
    p.hide {display: none;}

    # May 13, 2010 at 8:03 am

    Thank you for your great help

Viewing 3 posts - 1 through 3 (of 3 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