[pmwiki-users] Maximum page-width in Katskin
Kathryn Andersen
kat_lists at katspace.homelinux.org
Tue Aug 22 02:27:32 CDT 2006
On Tue, Aug 22, 2006 at 07:47:26AM +0100, Hans wrote:
> 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; }
Or, if one does wish to alter the KatSkin skin, one can add a CSS rule
to katskin/css/layout_ie.css, which is only included when the browser is
IE.
Kathryn Andersen
--
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
v |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the pmwiki-users
mailing list