Connecting Tech Pros Worldwide Forums | Help | Site Map

Align check box Problem with IE

Newbie
 
Join Date: Nov 2008
Posts: 1
#1: Nov 11 '08
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

Death Slaught's Avatar
Site Addict
 
Join Date: Aug 2007
Location: Tennessee
Posts: 952
#2: Nov 11 '08

re: Align check box Problem with IE


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](")
(")(")
Reply