[Pmwiki-users] CSS layout in pmwiki-0.6

E. Duncan Scott snark404+pmwiki
Thu Jan 15 20:12:03 CST 2004


On Fri, 16 Jan 2004 12:56:31 +1300, "Robin Sheat" <robin at kallisti.net.nz>
said:
> On Thu, Jan 15, 2004 at 03:18:51PM -0600, Jonathan Scott Duff wrote:
> > I just looked at tony.rocks.cc a little closer and it appear all of
> > its effects are done through style sheets too.  Obviously you could
> > reproduce the effect if needed.  Just copy from
> > http://tony.rocks.cc/style1.css
> I spent quite some time with flexlayout trying to reproduce it, but the 
> way the CSS on pmwiki was done it was nigh impossible. tony.rocks.cc 
> uses <DIV> for its groups, and the CSS says where they are to go, but 
> pmwiki/flexlayout uses tables, which are subject to being moved around 
> by the browser. I'm looking forward to a totally CSS pmwiki design :)
> 

CSSLayout should be able to do this.  In the default setup the entire
page consists of a series of <div> tags.  Stylesheets are then used to
place these around on the page.  Lists are really useful as well when you
want to have content that can be presented in different ways.  It is also
really easy to add content to the page, however it does require modifing 

I've been working on an improved version of CSSLayout That tries to
tackle some of these problems.  See
http://snark404.dnsalias.org/~escott1/wiki/Main/CSSWork It's still very
much a work in progress, but since you're working on basically the same
thing I thought you might be interested.  

Also I think you should consider having a dedicated print stylesheet. 
It's easy to do if you're using stylesheets and is a nice way to make the
wiki at least marginally print friendly.  I notice that page revisions
don?t have formatting.  I was having trouble with that as well.  I really
wish that there was a diffFmt that was similar to browseFmt, only with a
PrintDiff instead of PrintText.  I tried to make a PrintDiff Function,
but ran into some odd problems . . .

I would really like to see a version of PmWiki that doesn't use tables to
create its layout.  Properly done it can degrade rather gracefully, and
it offers a lot of flexibility.  

~Duncan

> Hostes alienigeni me abduxerunt. Qui annus est?
> 
> PGP Key 0x776DB663 Fingerprint=DD10 5C62 1E29 A385 9866 0853 CD38 E07A
> 776D B663

-- 
http://www.fastmail.fm - Consolidate POP email and Hotmail in one place



More information about the pmwiki-users mailing list