CSS and Specific Word Colouring
-
Hi Guys Is it possible to format specific words using CSS? I'm wanting to highlight key words within some pages of code samples, but don't fancy wrapping all the keywords in tags... Cheers, :-D
oooo, the Jedi's will feel this one....
-
Hi Guys Is it possible to format specific words using CSS? I'm wanting to highlight key words within some pages of code samples, but don't fancy wrapping all the keywords in tags... Cheers, :-D
oooo, the Jedi's will feel this one....
The current level of CSS does not offer this much desired feature.It can be acomplished with a simple regular expression either in javascript on the client or the language of your choice on the server.The result would be to progromaticaly add fancy wrapping in tags to all the keywords .
-
The current level of CSS does not offer this much desired feature.It can be acomplished with a simple regular expression either in javascript on the client or the language of your choice on the server.The result would be to progromaticaly add fancy wrapping in tags to all the keywords .
OK cool. I'll have a crack at that method then. A little c# behind the scenes could go a long way... Thank you. :-D
oooo, the Jedi's will feel this one....