Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I use apex:selectRadio on VF page it works fine in chrome but when I use IE7 there is space gets increased between button and option name. Any one suggest Reason ?

share|improve this question
Are you using any custom CSS and/or HTML? Could you post your page code please? – Wes Nolte Feb 19 '13 at 9:58
try to insert extra margin:0; padding:0; ? – Sergey Utko Feb 19 '13 at 10:17
^^As mast0r said, trying changing the css margin and padding values. I have run into issues with this working with IE9 which begs the question..."Why IE7????" – Richard N Feb 20 '13 at 20:10

Without your visualforce page it's hard to tell if it's something your doing or whether this is an issue with the standard Salesforce CSS.

In any event you can use the styleClass attribute to add a CSS class that you can use to override the standard behavior.

share|improve this answer

The only reason I can think of is that IE7 is outdated and shouldn't be used. True, this isn't a proper answer but the only way we can force people to stop using old browsers is to stop supporting them.

Yes some IT departments mandate the use of an old browser, but that's no excuse—they should be fixing whatever requires an old browser not expecting everybody else to keep pandering to them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.