Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Resizing Browser

Reply
Thread Tools

Resizing Browser

 
 
RG
Guest
Posts: n/a
 
      03-21-2006
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


 
Reply With Quote
 
 
 
 
Dylan Parry
Guest
Posts: n/a
 
      03-21-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing a div by resizing its borders Pil (Trustworthy from Experience) Javascript 9 04-21-2009 07:35 AM
Resizing a div by resizing its borders Proper Javascript 0 04-18-2009 08:02 PM
Browser resizing prevention? 'Captain' Kirk DeHaan Firefox 3 12-18-2004 10:01 PM
resizing IE browser windows Aaron ASP .Net 3 09-30-2004 09:43 PM
javascript iframe not resizing on browser load Kuv patel ASP .Net 1 02-05-2004 03:29 PM



Advertisments