|
Posted by Dylan Parry on 03/21/06 12:32
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.
--
Dylan Parry
http://webpageworkshop.co.uk -- FREE Web tutorials and references
Navigation:
[Reply to this message]
|