> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Paul Noone
> Sent: Friday, 21 October 2005 2:10 PM
> To: wsg@webstandardsgroup.org
> Subject: [WSG] Set min-width using DOM
>
> Hi,
>
> I know the jello tchnique and others have more or less effectively dealt
> with the problem of min-width in IE but they all require the use of multiple
> DIVs and heavily adjsuting your layout to suit.
>
> I've also looked at and discarded javascript solutions for the moment
> because I want to avoid hacks and remain accessible as possible.
>
> To that end it seemed that using the DOM *should* be a far more
> straightforward approach.
>
> I've applied the following line to my main container DIV's style.
>
>         #pagewidth{
>                 max-width:100%;
>                 min-width:780px;
>                 width: expression(((document.documentElement.clientWidth)) <
> 800 ? '780px' : 'auto');
>                 }
>

OK, now you have me very excited. Does this go in external
stylesheets? How's the support for IE browsers? Other browsers? Tell
me more.

--
C Montoya
rdpdesign.com ... liquid.rdpdesign.com ... montoya.rdpdesign.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to