JavaScript
--
Questions
--
Followers
Top Experts
Which browsers support offsetWidth and offsetTop? What is the best alternate to get the width/height/top/left of an object in older versions of browsers?
Thank you
Huji
PS: Somewhere else I was told that all browsers that accept getElementById accept these offset... things as well (IE 5.0+ and NS 6.0+). Even if this is correct, it doesn't give me any idea about Konquerer, Opera, and others. SO: If you send me a link to a web page, the shows all browser compatibility issues in a list, I would be SOOOOOOOOOOOOOOOO thankful!
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
==========================
<table cellspacing=0 cellpadding=0 border=1>
<td div onclick=alert(this.offsetW
tested on:
IE 6.0
mozilla 1.7.2
firefox 1.0
netscape 7.1
opera 7.54
</td>
</table>
Cd&






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Cd&
http://www.quirksmode.org/dom/getstyles.html

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
>...is Mozilla based...
1) What is Mozilla? Isn't it a name of a browser? I know IE is mozilla based, but, what shoudl this mean to me, to know it is mozilla based? (Excuse me for asking a question in such a dummy's way!)
2) What do Quriks Mode and Strict Mode exactly mean?
Thanks a lot
Huji
Follow me here:
https://www.experts-exchange.com/questions/21222290/Terminology-question-Mozilla-based.html
Thanks
Huji
For part 1) I posted in the other question.
For part 2):
Quirks mode, is the default mode that the browsers run in when they do not have a full Doctype entry. Â It allows the browser to render non-standard implementations for backward compatibility with buggie earlier versions; continue to support hacks in earlier versions, and allow trash laden pages generated by Office and Frontpage to render as if they actually contained valid code.
When a doctype is add it brings the browser into compliance mode. Â For most browsers that means they are about 95% to the w3c specs. Â For IE it gets them up to about 80% compliance, but the differences between IE and the rest of the universe is much smaller in compliant mode.
Cd&






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Cd&
JavaScript
--
Questions
--
Followers
Top Experts
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.