On 27 Sep 2007 at 09:14:15 +0100, "Magnus Manske"
<magnusmanske(a)googlemail.com> wrote:
To set the
maximum width for the content, put
html { width:1280px; margin-left:auto; margin-right:auto }
in your monobook.css (adapt "1280px" to the width you like)
That would be
html { max-width:1280px; margin-left:auto; margin-right:auto }
to keep it working normally on smaller screens, sorry.
But aren't there inferior popular browsers that fail to support the
'max-width' attribute?
It would be better to use a relative measurement such as em instead
of px, to allow for it to rescale if the font size is adjusted by
user preference. Otherwise, you can have a situation where somebody
sets their normal text to a large size (due to poor vision or an
extremely high resolution monitor where pixels are very small) and
still ends up with it crammed into a fixed-pixel-width canvas.
--
== Dan ==
Dan's Mail Format Site:
http://mailformat.dan.info/
Dan's Web Tips:
http://webtips.dan.info/
Dan's Domain Site:
http://domains.dan.info/