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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283258
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to