Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aligning radio button with text

Status
Not open for further replies.

spicymango

Programmer
May 25, 2008
119
CA
Hi,

Is it possible to valign radio button and text same

if you look at the above link, you will see radio button little above the text level . I have the same problem. I tried but nothing worked.


Thanks
 
You can use CSS property [tt]vertical-align[/tt] on the radio button to move it around. See W3 documentation on what values you can use with it.

Unfortunately, since radio buttons are rendered by the OS/browser combination, they appear very differently across different systems and aligning them to your liking in one OS/browser combination might ruin the alignment in others.

[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top