Re: [WSG] 1 pixel difference in firefox and IE 7
have you tried specifying the width of both the wrapper width and the image? on 11/15/2006 10:08 PM Martyn said the following: Hi all, I am trying to line up an image I have placed in a div to match a repeating background image I have placed in a wrapper div. The problem seems to be that there is a 1px difference between firefox and IE 7. I had this issue about two weeks ago but can not for the live of me remember how I resolved it. Any ideas about this? Kind Regards Martyn http://www.portwebsolutions.co.uk Web design and Development Tel: 01304 332560 Mob: 07841509409 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Abdulrahman Al-Otaiba *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] 1 pixel difference in firefox and IE 7
Hi The wrapper has no set width because I want it to take up all available space, here I have a background img repeating across the page, then I have another div which does have width of 760px which I want to sit on top of the other image to make it look as one whole image. The wrapper does not have width set so to make it liquid. What ever setting I use i.e. ems, px, or % there is always 1px difference between the two browsers. Kind Regards Martyn http://www.portwebsolutions.co.uk Web design and Development Tel: 01304 332560 Mob: 07841509409 -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Abdulrahman Al-Otaiba Sent: 15 November 2006 21:42 To: wsg@webstandardsgroup.org Subject: Re: [WSG] 1 pixel difference in firefox and IE 7 have you tried specifying the width of both the wrapper width and the image? on 11/15/2006 10:08 PM Martyn said the following: Hi all, I am trying to line up an image I have placed in a div to match a repeating background image I have placed in a wrapper div. The problem seems to be that there is a 1px difference between firefox and IE 7. I had this issue about two weeks ago but can not for the live of me remember how I resolved it. Any ideas about this? Kind Regards Martyn http://www.portwebsolutions.co.uk Web design and Development Tel: 01304 332560 Mob: 07841509409 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Abdulrahman Al-Otaiba *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] 1 pixel difference in firefox and IE 7
IE will often round values differently from other browsers so in cases where you absolutely have to have things line up, I use conditional comments to give IE a different value whether it be width, margin, padding, position etc. On Thu, 16 Nov 2006 05:08:48 +1000, Martyn [EMAIL PROTECTED] wrote: Hi all, I am trying to line up an image I have placed in a div to match a repeating background image I have placed in a wrapper div. The problem seems to be that there is a 1px difference between firefox and IE 7. I had this issue about two weeks ago but can not for the live of me remember how I resolved it. Any ideas about this? Kind Regards Martyn http://www.portwebsolutions.co.uk Web design and Development Tel: 01304 332560 Mob: 07841509409 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Tyssen Design Web print design services www.tyssendesign.com.au Ph: (07) 3300 3303 Mb: 0405 678 590 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***