Hi Tim,
Thanks for that.  I had forgotten about :before and :after
pseudo-classes.  That would work, except in IE browsers.  You answered
my question though. :-)

Thanks,
Stephen

On Fri, Mar 13, 2009 at 11:43 AM, Climis, Tim <tcli...@indiana.edu> wrote:
>> Does CSS2.1 allow a way to actually use "Q." and "A." as text?  Or
>> maybe a different markup (dl?) should be used?
>
> Sure.  It's even easy.
>
> li.Q:before {
>  content:"Q: ";
> }
>
> li.A:before {
>  content:"A: ";
> }
>
> http://www.w3.org/TR/CSS21/generate.html#before-after-content
>
> ---Tim
>
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to