[pmwiki-users] Maximum page-width in Katskin

Hans hans.bracker at googlemail.com
Tue Aug 22 01:47:26 CDT 2006

On 22/08/06, Kathryn Andersen <kat_lists at katspace.homelinux.org> wrote:

> There is a max-width property in CSS (which, unfortunately, IE does not
> recognise, but IE is broken and stupid).  So, you can set in your
> local.css file something like this:
> body {
>         max-width: 900px;
> }
> Or perhaps
> #wikibody {
>         max-width: 900px;
> }

IE may be a pain, but a lot of folk are using it.
So it may be good to use special rules for IE.
IE treats the width property as max-width,
and you can make a rule for IE only with * html,
which other browsers will ignore.
So you can write

* html #wikibody { width:900px; }


More information about the pmwiki-users mailing list