473,395 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

IE compatible vs. strict mode

VK
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/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp>

Anyone?

Dec 21 '05 #1
2 1917
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/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp>

Anyone?


Maybe this helps:

<URL: http://www.quirksmode.org/viewport/compatibility.html >
--
Rob
Dec 22 '05 #2
VK

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/default.asp?url=/library/en-us/dnie60/html/cssenhancements.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>

Dec 24 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Peter Bremer | last post by:
Hi all, I've written this little piece of code, which doesn't seem to work in Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found some indication that Netscape 6+ has the...
13
by: Spartanicus | last post by:
I've been thinking about using a custom "stricter" local HTML 4.01 Strict DTD for the purpose of local validation. That way I wouldn't have to change my doctype, my documents would still adhere to...
16
by: Peter Maas | last post by:
The XHTML file below creates a 2x2 matrix of square images. There is always some space at the bottom borders of the cells (when rendered with Gecko and KHTML, not with IE) and I've found no way so...
9
by: bert76 | last post by:
can anyone suggest a couple of websites providing *compatible* javascript? of course there is http://javascript.internet.com/ http://javascriptkit.com/ and the likes, but time and again you have...
9
by: rbronson1976 | last post by:
Hello all, I have a very strange situation -- I have a page that validates (using http://validator.w3.org/) as "XHTML 1.0 Strict" just fine. This page uses this DOCTYPE: <!DOCTYPE html PUBLIC...
3
by: jdlwright | last post by:
Hi, I need to place a DIV exactly over a textarea element, but I can't calculate the correct value that I should set style.width to, because offsetWidth and style.width are calculated differently...
5
by: bordsby | last post by:
according to the w3c : http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width The rules for calculating width for absolutely positioned non-replaced elements say that when 'left' and...
1
by: Gary | last post by:
Hello folks, I have a simple bug that defies my ability to find a work around. In IE7 strict-mode, if you have a table with width 100% in a DIV block.. the content will appear UNDER the div's...
6
by: bgold12 | last post by:
I was using quirks mode (without a doctype) and set the overflow CSS property to :auto for the body tag like so: <body style="overflow:auto"> And it worked; it got rid of IE's default scroll...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.