WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > Style Numbers Only with CSS

Reply
  Thread Tools Display Modes
Old 24th October 10, 07:00 PM   #1
CyberDave
WLC Member
 
CyberDave's Avatar
 
Join Date: Oct 2008
Location: Galway, Ireland
Posts: 35
Default Style Numbers Only with CSS

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 toj ust numbers in the text entered.
CyberDave is offline   Reply With Quote
Old 24th October 10, 11:43 PM   #2
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,194
Default Re: Style Numbers Only with CSS

Nope.


.....
chrishirst is offline   Reply With Quote
Old 25th October 10, 12:00 AM   #3
CyberDave
WLC Member
 
CyberDave's Avatar
 
Join Date: Oct 2008
Location: Galway, Ireland
Posts: 35
Default Re: Style Numbers Only with CSS

How about to the first 4 digits of HTML?
CyberDave is offline   Reply With Quote
Old 25th October 10, 01:08 AM   #4
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,194
Default Re: Style Numbers Only with CSS

????

You could maybe use pseudo-elements , pseudo-classes, adjacent or sibling selectors and some careful layout.
chrishirst is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:01 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.