[
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
|