Is it possible to style generated text?

/* Example: CSS */
a {
   font-family: arial;
   color: red;
   text-decoration: none;
   }

a.left-arrow:before {
   content: "< ";
   }

<!-- Example: HTML -->
<a href="thispage.html" class="left-arrow">Go to this page</a>

The link will appear in all red arial, like this:
< Go to this page

Is it possible to make the "< " appear in a different font or color?  If
so, how would I make the "< " appear different on :hover?

I have never used generated content b/c IE doesn't support it, but I am
trying something new, so I though I'd ask.

Thanks,
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to