At 10:44 PM 5/20/2012, matt1027 wrote:
I've got a flexible page layout that uses a max width style to keep it from getting overly wide.

max-width: 980px;
width:expression(document.body.clientWidth > 980? "980px": "auto");

I see now that I need to also have a minimum width because it "breaks if it gets too narrow.


Thanks for all the comments. I think I'm ready to convert my web sites to fixed width.

I have to use a max-width to keep the basic design intact and keep columns of text readable. And there is no way I can make it narrow enough to accommodate the small-screen traffic anyway, like 154x128 and 320x240. So I might as well just shoot for the middle of the road and make it simple. It seems to me that most of the major web sites I see are fixed width.

Thanks again,
Matt



______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to