Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apply CSS to input items
Message
From
09/03/2004 16:47:33
 
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00884568
Message ID:
00884584
Views:
13
This message has been marked as the solution to the initial question of the thread.
Evan,

>How can I apply a CSS to input items such as radio buttons and checkboxes. Currently the font for the choices is black, but I would like (via a CSS) to change them to blue.

Since the text for radio buttons or checkboxes is outside the actual tag, you might have to wrap the text in a SPAN section and give the span a class name that is contained in the CSS.
span.spanblue {
  color:blue
}

<input type="checkbox" id="something"><span class="spanblue">Blue Text</span>
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform