> Has anyone figured out a neat hack to get IE to render as the other
> browsers would...
> 
> without setting a class (hard coded in the output) on the radio buttons?
> ... 
> Anyone got a slick solution?
> 
 
Definitely not a hack, and not really neat, but a viable option:

Often times form elements have name and id attributes...so, if your radio
buttons already a specific ID, you could style using the ID...which I am
guessing is not going to work in your case...but, it is an option...and not
a bad one really.  The ID could be used by a backend process giving you a
two fro one deal, as follows:

<form class="colors" action="" method="post">
<fieldset>
<legend>Pick your favorite color:</legend><br />
<input type="radio" name="red" value="red" id="red">
<label for="red">Red</label><br />
<input type="radio" name="blue" value="rblue" id="blue">
<label for="blue">Blue</label><br />
<input type="radio" name="green" value="green" id="green">
<label for="green">Green</label><br />
</fieldset>
</form>

I'm pretty sure that the ID option works...but I may be over looking
something, and you may not want to add an ID to your radio buttons since
it's basically the same as adding a class...from a CSS stand point anyway.


-- 
Jono Young
Designer | Developer | Illustrator
Charleston Web Solutions
"Bringing Higher Standards to the Lowcountry"
http://www.charlestonwebsolutions.com/



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to