Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 977187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:51:52+00:00 2026-05-16T03:51:52+00:00

Just to make sure everyone understands what I am asking for, I will run

  • 0

Just to make sure everyone understands what I am asking for, I will run through what I believe are the basic distinctions between document, window, and viewport….

WINDOW is the entire browser window, including all nav bars, etc….

VIEWPORT is the portion of the window used to view the current XHTML/HTML/Flash document…

DOCUMENT is the actual content area, akin to the body but includes ALL of the page’s content. Only a portion of it is visible at any one time in the VIEWPORT (unless the page is the same size or smaller than the viewport).

Now, there are many great answers for how to get the VIEWPORT dimensions. I am already well versed in that… cross-browser and all.

What I really need to know is a simple, cross-browser solution that will give me the dimensions of the actual DOCUMENT in all browsers (no versions older than 3 years).

I thought I found a great solution here once… long ago… but now I cannot find it.

Anyone? Thanks for the read and hopefully someone can help.

P.S. Did I mention I DO NOT want solutions for calculating the VIEWPORT? OR THE WINDOW?

UPDATE: this solution MUST work in Opera 10.x, FireFox 3.6.x, IE 7/8/x, Flock 2.x, Safari 4.x… None of the answers below work in all browsers….

So, if you have not tested it in all, please do not respond to the question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:51:53+00:00Added an answer on May 16, 2026 at 3:51 am

    Sorry, but none of these answers were what I was looking for. In the end, I decided to just stick with document.body.getWidth() and document.body.getHeight() in Prototype.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just to make sure everyone is on the same page these are the credentials
Just to make sure I'm understanding shallow copies of reference types correctly and that
Guys I know this question is silly but just to make sure: Having in
Just want to make sure one thing. In a windows machine (either a desktop
I'd just like to make sure I understand what PyEphem is doing with angles.
Hi I just want to make sure I have these concepts right. Overloading in
I'm still picking up ObjC and I'm just trying to make sure I understand
I am doing a md5 hash, and just want to make sure the result
I have just started to work with jquery so I need to make sure
I'm not sure if I'm even asking this question correctly. I just built my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.