[WSG] Unexpected padding (margin?) on right float
First, take a look here in Firefox or Netscape: http://www.x7m.us/_clients/danielik/dev/testing/index.htm Perfect. both floats line up vertically to the top nav bar as desired. Now, take a look in IE6. Somehow, some right-padding or right-margin has crept into the right side of the red outlined box in IE. I've been beating my already-tender-head over this for hours, butcan't figure it out how to fix it. Have validated the CSS so that's not the problem. I guess I can add another div and then float all three left - maybe that'll fix it, but I haven't tried it yet and feel it's more of a work-around solution (if that would even work) than the "right" way to accomplish this. Can someone tell me what's going wrong and what I need to do to fix it? Ever greatful in advance, Cole
Re: [WSG] Unexpected padding (margin?) on right float
Cole Kuryakin - x7m schrieb: http://www.x7m.us/_clients/danielik/dev/testing/index.htm Somehow, some right-padding or right-margin has crept into the right side of the red outlined box in IE. #sideBar { margin: 25px 14px 25px 15px; padding: 0pt; width: 140px; float: right; display: inline; /* fix IE doubled margin bug */ } see http://positioniseverything.net/explorer/doubled-margin.html regards Ingo ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Unexpected padding (margin?) on right float
Fixed. Thanks so much! Will review positioniseverything site for better understanding of this issue - particularly if it only pertains to floats. Thanks again Ingo. Cole - Original Message - From: Ingo Chao [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, April 19, 2005 12:49 PM Subject: Re: [WSG] Unexpected padding (margin?) on right float Cole Kuryakin - x7m schrieb: http://www.x7m.us/_clients/danielik/dev/testing/index.htm Somehow, some right-padding or right-margin has crept into the right side of the red outlined box in IE. #sideBar { margin: 25px 14px 25px 15px; padding: 0pt; width: 140px; float: right; display: inline; /* fix IE doubled margin bug */ } see http://positioniseverything.net/explorer/doubled-margin.html regards Ingo ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **