RE: [WSG] why 3px out in ie
Agh, the old "double float margin bug" say's agent 86. Thank's for the replies. Problem sorted. http://positioniseverything.net/explorer/doubled-margin.html ** 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] why 3px out in ie
> Adam Hough wrote: > http://dampsponge.com/pir/layouttest.htm > Both are unaligned the same until i try and put a left margin on the > .homebox class. If i put a 3px left margin on this box, firefox does > exactly what i want with the alignment while ie is out of wack. IE6 doubles margin on floats, simply add display:inline homebox class http://positioniseverything.net/explorer/doubled-margin.html Testing this IE removed the margin spacing at the bottom when adding display:inline, was able to get the same result in Firefox and IE by removing the bottom margin from .homebox and adding bottom padding to #productwrap Regards Jason ** 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] why 3px out in ie
It is only 2px :-) and it is all to do with how IE handles the box model Tantek explains better than I can: http://tantek.com/CSS/Examples/boxmodelhack.html This email is from the Department of Consumer and Employment Protection and any information or attachments to it may be confidential. If you are not the intended recipient, please reply mail to the sender informing them of the error and delete all copies from your computer system, including attachments and your reply email. As the information is confidential you must not disclose, copy or use it in any manner. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **