I was having a play a few days ago trying to solve a minor problem and thought about specifying paragraph content e.g.
P:before {content: "J"; color: red}
Works in Opera and Mozilla, does nothing in IE.
Any thoughts?
Kaled.
encyclo
10:22 am on Jun 9, 2004 (gmt 0)
Yes, sadly it's never going to work. Guess what? IE doesn't support :before.
fwordboy
2:28 pm on Jun 9, 2004 (gmt 0)
sadly there are quite a lot of bits of css2 that ie doesn't support. Dean Edwards has created a solution to this called IE7 [dean.edwards.name] where you can add his stylesheet to your page to make IE more complient.