Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

viewable area!

Status
Not open for further replies.

ADoozer

Programmer
Dec 15, 2002
3,487
AU
im back with another relatively simple question (for someone)

im designing my page so as it fits perfectly in a screen resolution of 600*800 (with standard toolbars).

Q1/ is there something in html or java or whatever that will return the horizontal and vertical size (in pixels) of the viewable area.

(similar to vb code: form.scaleheight and form.scalewidth)

ive read through the tutorials at elated and w3schools, but ive overlooked it or its not there!

thnx in advance

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
A General Guide To Excel in VB FAQ222-3383
File Formats Galore @
 
Hello.

Try window.innerWidth and window.innerHeight.

I'm not an expert in this little area, but it might get you looking in the right area.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top