Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Adjusting label of radio box
Old 04-16-2011, 03:22 AM Adjusting label of radio box
asmalik12's Avatar
Extreme Talker

Posts: 173
Name: Abdullah Saleem
Trades: 0
How can I adjust radio button label of



like this



I know this is possible only using tables, but how I've tried applying table to it but failed. Is there any other way to do it?

HTML Code:
<div class="poll">
<div class="upm_polls">
<p class="upm_poll_form_question">[QUESTION]</p>
<ul class="upm_poll_ul">

[ANSWERS-START]
<table cellspacing="3" cellpadding="2" border="0">
<li class="upm_poll_form_list">
<tr>
<td><input type="radio" name="upm_answer" id="upm_answer-[ANSWER-ID]" value="[ANSWER-ID]" /> </td>
<td><label class="upm_poll_form_label" for="upm_answer-[ANSWER-ID]">[ANSWER]</label></td></tr>
</li></table>
[ANSWERS-END]

<li class="upm_poll_form_list poll_submit">
<div class="poll_form_footer">
<input id="upm_poll_form_submit"  class="upm_poll_form_submit" name="upm_vote" value="Vote" type="submit">
<div id="upm_loading"></div>
</div>
</li>
</ul>
</div>
</div>
Should I post CSS code, too or it is adequate
__________________
"Think 100 times before you take a decision, But once that decision is taken, stand by it as one man." - Quaid-e-Azam

Last edited by asmalik12; 04-16-2011 at 03:28 AM..
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
 
Register now for full access!
Old 04-16-2011, 06:34 AM Re: Adjusting label of radio box
shivaji's Avatar
Ultra Talker

Posts: 321
Trades: 0
You can try negative text indent.

text-indent:-20px;
__________________

Please login or register to view this content. Registration is FREE
- uncommon free scripts

Please login or register to view this content. Registration is FREE
- Städte, Sport, Party, Gourment, Apartments, Hotels
shivaji is offline
Reply With Quote
View Public Profile Visit shivaji's homepage!
 
Old 04-16-2011, 07:48 AM Re: Adjusting label of radio box
asmalik12's Avatar
Extreme Talker

Posts: 173
Name: Abdullah Saleem
Trades: 0
Didn't work. It's rather moved the radio box further outside.



I reckon It's only possible through table, but I can't work it out
__________________
"Think 100 times before you take a decision, But once that decision is taken, stand by it as one man." - Quaid-e-Azam

Last edited by asmalik12; 04-16-2011 at 07:51 AM..
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 04-17-2011, 03:40 AM Re: Adjusting label of radio box
shivaji's Avatar
Ultra Talker

Posts: 321
Trades: 0
If I good see your image it is work (it is different then first one). Just put more then 20px.
__________________

Please login or register to view this content. Registration is FREE
- uncommon free scripts

Please login or register to view this content. Registration is FREE
- Städte, Sport, Party, Gourment, Apartments, Hotels
shivaji is offline
Reply With Quote
View Public Profile Visit shivaji's homepage!
 
Old 04-17-2011, 10:35 AM Re: Adjusting label of radio box
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Two ideas neither tested.
1: give the radio button a line-height of 2em.

2: Put the radio button and label in a container, set the radio button to display block with a fixed width and a height of 2em.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-22-2011, 02:07 AM Re: Adjusting label of radio box
gongpex's Avatar
Experienced Talker

Posts: 36
Name: gong
Trades: 0
Try this I hope this can help:
Quote:
<input type="radio" value="" name=""> yes,the national coaching staff is bulky of &nbsp;&nbsp; bowler</input><br />
<input type="radio" value="" name=""> No,the problem is coaching staff</input>
note: this just example
taq "&nbsp;" it's using for make space.
you can use more than that I wrote.

so, you must using according the amount of your necessary

Last edited by gongpex; 04-22-2011 at 02:45 AM..
gongpex is offline
Reply With Quote
View Public Profile Visit gongpex's homepage!
 
Reply     « Reply to Adjusting label of radio box
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.59830 seconds with 12 queries