IE incorrectly implements the CSS box model, while FF (and other browsers) gets it right. Specifically, IE assumes the width you specify is for the actual content area of the elements box, while the CSS spec says that the width you specify is for the entire box (including padding, border, and margin). So if you've got 5px of margin, a 1px border, and 4px of padding, your elements will be 10px wider than they should be. Or, if you're looking at it from the IE side, rather than the standards side, a standards compliant browser will show your boxes 10px smaller than you're used to.
cheers, barneyb On Sun, 12 Dec 2004 21:28:48 -0500, Victor Moore <[EMAIL PROTECTED]> wrote: > Thanks Isaac, > > I have implemented the second part and it's working fine. > I am working now on the first one. There is actually one function for > all the events: > document.onmouseout = ItemOut; > document.onmousedown = ItemDown; > document.onmouseup = ItemUp; > > Thanks again. > > Victor > > PS One more thing: Is there a difference in rendering between the two > browsers? It seems that there is 5 pixel offset. Not a biggie but some > items on the form are not aligned properly. > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187310 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

