Joanne wrote:
> I'm one of those people who is usually reluctant to use liquid
> design because I don't like text being stretched out to the
> 1280 pixels wide so there's text stretching from one side to
> the other.
>
> I was wondering if there was a way in CSS to use liquid design
> but set a maximum width of 1024 pixels for the main div, so
> regardless of the screen resolution, it will never stretch
> past 1024.

There is, but I would rather set that max-width in ems, relative 
to the font-size, than in pixels.
If my mother would be browsing your site, she would probably 
crank up the font-size to 5 times what you think looks large 
already. By setting a max-width of 1024 pixels, you are confining 
the line-length to just a couple of words in the middle of her 
1600x1200 23inch screen.

So, 'max-width:30em' could be good, you have to try out which 
width is most comfortable to read.
One more problem: IE doesn't understand max-width (or min-width). 
There is a workaround for it, but it's quite tricky to get it 
right.
http://www.svendtofte.com/code/max_width_in_ie/ explains all 
about it.

-- 
Els
http://locusmeus.com/
http://locusoptimus.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to