View Full Version : Style Numbers Only with CSS

10-24-2010, 07:17 PM
Is it possible to have a tag that applies a style (background image) to just numbers? I am creating a website for a club with Lotto results in an RSS feed and to make it easier for the user, i want to have the style added to just numbers in the text entered.

10-24-2010, 11:19 PM
Just bumping this back up...

10-25-2010, 04:17 PM
Short: No.
Long: You can if you have some JavaScript loop through your text and wrap span elements around strings of numbers which can then be styled with CSS.