Kevin, Thanks. Very interesting. Andy
-----Original Message----- From: Kevin Graeme [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 9:26 AM To: CF-Talk Subject: RE: SOT moving to FireFox The simplest way is to simply declare a proper doctype which switches IE to using the W3C box model. Be aware that the doctypes included in CF Studio/Homesite are not valid. A good article with valid doctypes is available here: http://www.alistapart.com/articles/doctype/ -Kevin > -----Original Message----- > From: Victor Moore [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 12, 2004 9:04 PM > To: CF-Talk > Subject: Re: SOT moving to FireFox > > Interesting. So how are people coding for this? Determine > the browser and then have two dimensions? > > I was wondering if M$ is doing this on purpose or just doesn't care. > > Thanks Barney > > Victor > > > On Sun, 12 Dec 2004 18:46:13 -0800, Barney Boisvert > <[EMAIL PROTECTED]> wrote: > > 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 - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187403 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