[Pmwiki-users] CSS layout in pmwiki-0.6

Patrick R. Michaud pmichaud
Mon Jan 19 08:08:44 CST 2004


On Mon, Jan 19, 2004 at 04:45:58PM +1300, John Rankin wrote:
> 
> At the moment, I do this with a $SideWidth = 120; statement. If I change
> this, all the places that use it of course adjust themselves.

You can still do this with a $SideWidth variable, and outputting the
CSS specs as part of $HTMLHeaders.

> So I guess the answer is to change the above to
>    .wikileft { width: 120px; }
> and use the .wikileft class wherever I need to. 

...except I'd call the class something other than wikileft (which properly
names just the left sidebar), I'd call it 'sidewidth' or something like 
that.

Pm



More information about the pmwiki-users mailing list