how can i get element's content by css?
-
we can get element's style such as color and so on,by how can we get element's content by css?Recently,i found css2.1 can do so: h1:before { display: block; text-align: center; white-space: pre; content: "chapter\A hoofdstuk\A chapitre" } by IE6.0 don't support css2.1,How can i do?:confused: ok
-
we can get element's style such as color and so on,by how can we get element's content by css?Recently,i found css2.1 can do so: h1:before { display: block; text-align: center; white-space: pre; content: "chapter\A hoofdstuk\A chapitre" } by IE6.0 don't support css2.1,How can i do?:confused: ok
If the browser you are catering to doesn't support CSS2, you can't do it obviously. Aaron Eldreth TheCollective4.com My Articles While much is too strange to be believed, Nothing is too strange to have happened. - T. Hardy
-
we can get element's style such as color and so on,by how can we get element's content by css?Recently,i found css2.1 can do so: h1:before { display: block; text-align: center; white-space: pre; content: "chapter\A hoofdstuk\A chapitre" } by IE6.0 don't support css2.1,How can i do?:confused: ok
if i am right, the latest version of Opera supports css2.1 You could use it to try out your scripts but i would suggest that you wait till it is more standardised (IE begins to support it):-D Whats the use if your code does not work on your clients PC. Any tool is only as good as you can use it!! (http://www.pascalnet.tk)