By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,036 Members | 978 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,036 IT Pros & Developers. It's quick & easy.

Align check box Problem with IE

P: 1
Hello,

How do you get a good render of check box alignment with the text in IE6 and IE7 without getting to hacking those browser?

I have a text and then a list of checkboxes.
I want to get the checkbox horizontally in line with the text before and after.

I have used margin-left: 0px; for Firefox

But it won't work in IE6 and IE7.
For IE I have to put : margin-left: -4px

Any body knows a CLEAN way to get it in line both in Firefox and in IE?

Thank you
Nov 11 '08 #1
Share this Question
Share on Google+
1 Reply


Death Slaught
100+
P: 1,137
Are you removing the default margins set in the browser? If not add this to your CSS.

Expand|Select|Wrap|Line Numbers
  1. * {
  2.        margin:0;
  3.        padding:0;
  4. }
Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
Nov 11 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.