View Single Post
  #2  
Old 01-17-2009, 10:13 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: 1px Difference between IE and FF, killing me

Welcome to the wonderful world of IE compatibility. This is one of the most annoying things about web development - trying to get something to look exactly the same cross-browser. There are a few solutions:

First, you can specify a different stylesheet all together for IE, but that is a bunch of extra work.

Next, you can use display: inline; or display: table-cell; which sometimes fixes the issue.

Last, you can use the IE hack to give a different margin to IE, which is putting an _ before something. For example, if you want padding to be 20px for FF, but 19 for IE, you'd show it like this:

padding-top: 20px; _padding-top: 19px;

Try one of those and see if they help.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote