Knowing which is which would help !
but I'll assume you want the text in grey to be below and inline with each of the radio buttons.
If so;
one answer is to use parent containers and float the child elements.
HTML Code:
<style type="text/css">
#parent {
width:500px;
margin:0px auto;
background-color:#9999ff;
font-size:0.75em;
}
.rad_box {
color:#000000;
background-color:transparent;
float:left;
}
.rad_box div {
color: #cccccc;
padding:0 ;
text-align:center;
}
#text-input {
width:75%;
margin:0 auto;
}
#options {
width:75%;
margin:0 auto;
}
</style>
</head>
<body>
<div id="parent">
<div id="text-input">
<input name="input_text" size="70" maxlength="100" value="" type="text" width="">
</div>
<div id="options">
<div class="rad_box">
<input name="options" value="1" checked type="radio">Wdeleriwjd
<div>Vdinen.ln </div></div>
<div class="rad_box">
<input name="options" value="2" type="radio">Nesrleadnd
<div>Vdinen.ln</div></div>
<div class="rad_box">
<input name="options" value="3" type="radio">Pajltaes
<div>Vdinen.ln</div></div>
<div class="rad_box">
<input name="options" value="4" type="radio">Eyepdeccloni
<div>Wedikiipa.rgo</div></div>
<div class="rad_box">
<input name="options" value="5" type="radio">Hdaenl
<div>Mlarptakats.ln</div></div>
</div> <!-- options -->
</div> <!-- parent -->
another answer would be just to use a table
__________________
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?
|