I can’t seem to get the CSS to modify my radio buttons. Their default settings aren’t symmetrical so my layout looks a little ugly. I am generating a bunch of these forms with javascript. I do not want to inject large amounts of inline style='margin:0px padding:0px' stuff but it’s the only way I can get it to work.
I can’t seem to get the CSS to modify my radio buttons. Their default
Share
Using a CSS selector, you can probably do this:
Note however that older versions of IE don’t support attribute selectors. For those, you can do:
and
to catch the oldies. This would cut down the amount of presentational code while maintaining compatibility with ie6.