Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

padding created in IE6 but not Firefox or Netscape 1

Status
Not open for further replies.

mcghee31

IS-IT--Management
Dec 13, 2007
12
0
0
US
I create a simple form that contains two text boxes and two radio buttons. Please view at the link below.


I added left margin space with "margin: 0 0 0 2em;" In Firefox and Netscape I get no padding with the added margin but in IE6 it creates padding. Where am I getting this extra padding from? I set all elements to "padding: 0 0;" but still IE6 creates padding and margin with the setting of

the complete CSS file is listed below "margin: 0 0 0 2em;"

Code:
#time_con {font-family: verdana, sans-serif; font-size: 11px; 
	   float:left; margin: 0 0 0 2em; padding: 0 0; background-color:orange;}


#time_dot {font-weight: bolder; margin: 0 0; padding: 0 0;}




input.text_am_pm {width: 1.3em; height: 1.3em; margin: 0 0; font-size: 10px; text-align: center;}

input.radio_am_pm {width: 1em; margin:0 0; padding: 0 0; background-color:white;}
 
It's not extra padding, it's double margin. A common problem in IE6. Check the link on how to combat it.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top