diffrence between normal and none value for content property

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sedigh mohseni
    New Member
    • Feb 2011
    • 64

    diffrence between normal and none value for content property

    hi

    what is real or visual diffrence between normal and none value for content propery when we use them for :after or :before pseudo-class selector?

    thanks alot for your help.
  • MusoFreak200
    New Member
    • Oct 2009
    • 96

    #2
    the main difference in CSS2.0 between the :after and :before pseudo-class selectors are:

    :after class is nomally used to insert some form of content after the stated element.
    whereas the :before class will place the content before the stated element.

    e.g
    p:after will insert content after every <p> element

    Vs

    p:before whill insert content before every <p> element


    does that help you by answering your question?

    Comment

    • sedigh mohseni
      New Member
      • Feb 2011
      • 64

      #3
      MusoFreak200 dear,
      i understand the meaning of :before or :after selector ,but my question is as follow:
      what is visual diffrence between none value and normal value for content property that is writen into :after or :befor selector's declaration block.
      for example what is deffrence between two below ruls:
      p:before {content:none; } and p:before {content:normal ; }

      by the way thank alot for your help.

      Comment

      Working...