The css code is this:
div.quote:before {
content: 'before';
}
div.quote:after {
content: 'after';
}
Unfortunately, it doesn’t work with IE 6 and 7. How can I solve it? Maybe with expression?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you may have a look at
http://www.quirksmode.org/css/contents.html
neither :before and :after, nor content, are supported css selectors and properties for css in IE7 and before..
you might achieve a similar effect with javascript though