Whats the maximum number of pixels tall and wide in a browser?

M

Matt

In a browser, what is the maximum height in terms of pixels,
and the maximum width in terms of pixels?

For example, when we declare the frame

<frameset cols="200,*">
<frame src="frame1.html">
<frame src="frame2.html">
</frameset>

Or we should use percentage instead??
 
W

Whitecrest

In a browser, what is the maximum height in terms of pixels,
and the maximum width in terms of pixels?
For example, when we declare the frame
<frameset cols="200,*">
<frame src="frame1.html">
<frame src="frame2.html">
</frameset>
Or we should use percentage instead??

Man, you probably have no idea how many nerves you just struck with this
questions.

First, do you really need a frame set? Probably not. But lets assume
you are one of the cases that does. You should use percentage when ever
possible. This allows your page to be a little more flexible. If your
design does not work well flexible, then by all means use a fixed width.
 
S

SpaceGirl

Matt said:
In a browser, what is the maximum height in terms of pixels,
and the maximum width in terms of pixels?

For example, when we declare the frame

<frameset cols="200,*">
<frame src="frame1.html">
<frame src="frame2.html">
</frameset>

Or we should use percentage instead??

Percentage would be better - there is no limit. Example, if a user is
running at 800 x 600, then the max useable space is around 750 x 550. But if
that same user changes resolution to 1600 x 1200 then you can use 1550 x
1150. Double the space.

You should also avoid frames unless you really *have* to use them, as they
screw up bookmarking and wont do you any favours if you want to appear on
search engines.
 
D

David Dorward

Matt said:
In a browser, what is the maximum height in terms of pixels,
and the maximum width in terms of pixels?

_a_ browser? Unlimited.
A specific user's browser? Variable.
For example, when we declare the frame

Eugh. http://dorward.me.uk/www/frames/
Or we should use percentage instead??

The appropriate unit depends upon the circumstances. Sometimes percentages
are best, sometimes units related to the font size (like em), and
occasionally pixels. (Of course, only pixels and percentages can be used in
HTML, for other units you need CSS, which can't be applied to framesets)
 
D

David Dorward

SpaceGirl said:
Percentage would be better - there is no limit. Example, if a user is
running at 800 x 600, then the max useable space is around 750 x 550. But
if that same user changes resolution to 1600 x 1200 then you can use 1550
x 1150.

If you make the *assumption* that the user browses with their windows
maximised.
Double the space.

Four times :)
 
S

SpaceGirl

David Dorward said:
If you make the *assumption* that the user browses with their windows
maximised.


Four times :)

Read what I wrote again. "...then the max usable space is around..." That
naturally assumes the user has maximised their display, yes? Stop being so
bloody picky anyway :)
 
M

Mabden

SpaceGirl said:
Read what I wrote again. "...then the max usable space is around..." That
naturally assumes the user has maximised their display, yes? Stop being so
bloody picky anyway :)

And if the user has two or more monitors, the width may be much more. Or the
height if they stack them...

I have 2048 x 768 maximum (go ahead and *assume* I maximize it), although it
is slightly less since I can't "maximize" my browser with out it filling
only one monitor, so I have to drag the window to almost maximized.
 
K

Kris

If you make the *assumption* that the user browses with their windows
maximised.
[/QUOTE]
Read what I wrote again. "...then the max usable space is around..." That
naturally assumes the user has maximised their display, yes? Stop being so
bloody picky anyway :)

How about the Favorites bar of which you don't know whether it is open
or collapsed, even if your window is maximized?
 
R

Richard

Matt said:
In a browser, what is the maximum height in terms of pixels,
and the maximum width in terms of pixels?
For example, when we declare the frame
<frameset cols="200,*">
<frame src="frame1.html">
<frame src="frame2.html">
</frameset>
Or we should use percentage instead??

Virually unlimited.
If you were to give your page 10,000 by 10,000 pixels, then the viewer would
see one very large page.
If you use percentage, then you must design your page so that it would view
properly in what ever dimensions the viewer uses.
 
N

Neal

In a browser, what is the maximum height in terms of pixels,
and the maximum width in terms of pixels?

For example, when we declare the frame

<frameset cols="200,*">
<frame src="frame1.html">
<frame src="frame2.html">
</frameset>

Or we should use percentage instead??


If you are using frameset wisely, then you're better off setting the
smaller area with either % or a needed width, and allowing the rest to be
relative to width. However, the times framesets are wise are few and far
between, and I rarely see them implemented reasonably.

If I make something on a page 800px wide, viewers on small screens must
scroll horizontally, users on medium screens might be OK, and, oddly
enough, users with very large screens might have to scroll horizontally -
because their screen is so wide they run two windows side by side.

The viewport can and will be *any* size, so plan on the browser rendering
to any set of dimensions, rather than worry about max/min.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,997
Latest member
mileyka

Latest Threads

Top