Victor, You will also want to Google CSS Box Model. IE's poor, non-standards based CSS implementation throws this off a great deal over standards-compliant browsers.
Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com Andy Matthews wrote: > Pixels aren't different between browsers, but each browser has a different > interpretation of how CSS should be rendered. Without seeing this code in > context, it's difficult to say exactly what it is, but it probably has > something to do with your margin settins. Try setting them to zero: > > margin: 0px; > > Then see what that looks like. > > andy > > > > -----Original Message----- > From: Victor Moore [mailto:[EMAIL PROTECTED] > Sent: Monday, July 09, 2007 8:21 AM > To: CF-Talk > Subject: CSS difference between IE and FF > > Hi, > > I have a css with the following declaration: > #hdrB *{*width*:*100%*;*color*:*#ffffff*;*height*:*92px*;*margin*:*0 20px > 10px*;*text-align*:*left*;}* > > and then in a cfm file I have the following: > > <div id="hdrB"><img src="images/pic1.gif" border="0" > style="height:92px" /> </div> > In IE7 the image fills the whole header, as it should. In FF 2.* for some > reason the image is bigger then the height of the header. You can visually > see that the header is actually smaller in FF. > > What gives? Are pixels different between browsers? What can I do to have the > header the same size in both browsers? > > Thanks > > Victor > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283303 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

