You are here: Re: Resizing Browser « HTML « IT news, forums, messages
Re: Resizing Browser

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация