Hello,

Example code:

-----------<snip>-----------

#mainContainer {
        min-width: 500px; /* IE doens't understand this property. */
        /* IE Dynamic Expression to set the width: */
        width:expression(document.body.clientWidth < 500 ? "500px" : "100%" );
}

-----------</snip>-----------

Questions:

        1. How would I go about applying a Max-width also?

        2. Should I be worried about the above expression breaking in IE7?

        3. How would I get min-width and max-width to work in IE/Mac? The 
above expression appears to have no affect on that browser/platform.

        4. What would you suggest is a good max-width for a fluid-layout site?

Any help would be greatly appreciated.  :)

Thanks, cheers,
Micky
-- 
¸.·´¯`·.¸¸><(((º>`·.¸¸.·´¯`·.¸¸><((((º>
·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸><((((º>
`·.¸><((((º>¸.·´¯`·.¸¸><((((º>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to