Resizing Browser

R

RG

Is there a way to set a minimus size of an html page? The idea is to have
scrollbars appear when resizing browser window to a size smaller than the
minimum defined. Also, under this same situation prevent objects like
tables from being further resized.

Thanks in advance
 
D

Dylan Parry

Pondering the eternal question of "Hobnobs or Rich Tea?", RG finally
proclaimed:
Is there a way to set a minimus size of an html page? The idea is to have
scrollbars appear when resizing browser window to a size smaller than the
minimum defined. Also, under this same situation prevent objects like
tables from being further resized.

In browsers that support it, you can use the "min-width" CSS property -
although Internet Explorer <=6 doesn't support this. In that situation,
you can use other CSS hacks to overcome IE's inadequacies, or you can
use Javascript to add an emulation of min-width support.

Minmax.js is one such Javascript hack for this
(http://doxdesk.com/software/js/minmax.html) and seems to (IME) work
pretty well in IE, although you shouldn't rely on it.
 

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

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top