This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > December 2005 > IE compatible vs. strict mode





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IE compatible vs. strict mode
VK

2005-12-21, 3:41 am

Somewhere on MSDN I've seen a very small burk about how offsetSomething
is calculated in compatibility vs. strict mode. Something like some
margins(?) are included into calculation and some not - depending on
the mode. I put my life on that I've seen it but I was stupid enough to
not bookmark it right away. Now I cannot find it: was it offsetWidth?
innerHeight? some addon article?
I'm just sure that it was on MSDN and orginally navigated using IE from
<http://msdn.microsoft.com/library/d...rence_entry.asp>

Anyone?

RobG

2005-12-22, 3:31 am

VK wrote:
> Somewhere on MSDN I've seen a very small burk about how offsetSomething
> is calculated in compatibility vs. strict mode. Something like some
> margins(?) are included into calculation and some not - depending on
> the mode. I put my life on that I've seen it but I was stupid enough to
> not bookmark it right away. Now I cannot find it: was it offsetWidth?
> innerHeight? some addon article?
> I'm just sure that it was on MSDN and orginally navigated using IE from
> <http://msdn.microsoft.com/library/d...rence_entry.asp>
>
> Anyone?


Maybe this helps:

<URL: http://www.quirksmode.org/viewport/compatibility.html >


--
Rob
VK

2005-12-24, 6:58 pm


RobG wrote:
> Maybe this helps:
>
> <URL: http://www.quirksmode.org/viewport/compatibility.html >


This too, thanks.

Finally I've found it:

<http://msdn.microsoft.com/library/d...nhancements.asp>
<quote>
With Internet Explorer 6 or later, when you use the !DOCTYPE
declaration to switch on standards-compliant mode, the width and height
properties specify the distance between the left and right edges and
top and bottom edges of the bounding box, respectively. The border and
padding belts are not included.
</quote>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews