I've also been told that if you use a DOCTYPE of XHTML 1.0 Strict IE will
follow the standards better.

_____ 

Jake Churchill 
CF Webtools 
11204 Davenport, Ste. 200b 
Omaha, NE  68154 
http://www.cfwebtools.com 
402-408-3733 x103 

-----Original Message-----
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 09, 2007 2:44 PM
To: CF-Talk
Subject: Re: CSS difference between IE and FF

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
> 
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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

Reply via email to