CSS literal text selector?

DreamThrall

Newbie
Joined
Oct 14, 2003
Messages
3,483
Reaction score
0
Does anyone know if there's a selector to select literal text inside an element? For example:
Code:
<div>literaltext [list][*]blah blah[/list]
How would I go about selecting the "literaltext" content from the above example? By the way, I can't change the actual structure of the html in this case. This needs to work cross-browser as well. Thanks!
 
wont that be the base case ? , i.e if you define selectors for the list and other tags then any text that is outside its own tags will inherit the default div formatting.
 
well yes, but i needed to select the literal text independent of the div, which i've subsequently found out is impossible. thanks for the response though :)
 
Back
Top