Style just text in input line

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
pizzipie
Forum Commoner
Posts: 87
Joined: Wed Feb 10, 2010 10:59 pm
Location: Hayden. ID

Style just text in input line

Post by pizzipie »

Code: Select all

<input type="radio" name="input" value="home" checked="checked"/> Home Address<br>
How can I style just the text (Home Address) in the above line?

I'd like to know inline like .... style='color:blue;' and in the <head> part of a script like ... Input { color:blue}

Thanks, RP
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: Style just text in input line

Post by kaszu »

Wrap text in <label>Home Address</label> and apply style to it
pizzipie
Forum Commoner
Posts: 87
Joined: Wed Feb 10, 2010 10:59 pm
Location: Hayden. ID

Re: Style just text in input line

Post by pizzipie »

:D :D SOLVED Thank you very much Kasu !!!!
Post Reply