OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] css syntax - easy question

[ Lists Home | Date Index | Thread Index ]

Laura Kertz wrote:
> name:before {content: "name: "}
> phone:before {content: "phone: "}
> email:before {content: "email: "}
> 
> Could I collapse it all using the * selector? I am not sure what the
> "something here" would be to pull out the element name.
> 
> *:before {content: "SOMETHING HERE"}

I don't believe that's doable with CSS today.  As to a possible future, see:

	http://www.w3.org/TR/css3-content/

I wouldn't hold my breath, though -- note the date of that draft.  


/Jelks





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS