Eystein Alnaes wrote:
> I want to center my content, but when the browser window is above a
> certain width I want the left hand margin to stop at say 200px (or
> x%), while the right hand margin continues to grow. How do I do this?
>
No max-property for margins, I'm afraid :-) You'll have to use regular
left/right margin 'auto' on content.
You can make it behave the way you describe by wrapping content in a
extra wrapper-div, and set 'width: 100%; max-width: (your value);' on
it. This extra wrapper will then expand with window, until max-width is
reached. Beyond that everything will stay left-aligned at that width -
hopefully with a suitable left margin on content (if you get the values
right), while the right margin on the wrapper will grow forever...
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
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/