Grow your CSS skills. Land your dream job.

CSS Hide text in p tag command

  • # May 9, 2010 at 10:50 am

    Hi

    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

    Charles

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

*May or may not contain any actual "CSS" or "Tricks".