By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,237 Members | 1,332 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,237 IT Pros & Developers. It's quick & easy.

diffrence between normal and none value for content property

P: 64

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.
Jun 17 '11 #1
Share this Question
Share on Google+
2 Replies

P: 96
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.

p:after will insert content after every <p> element


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

does that help you by answering your question?
Jun 23 '11 #2

P: 64
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.
Jul 1 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.