[pmwiki-users] It's time to change pmwiki default skin!

Paul Giacherio paulgiacherio at gmail.com
Thu Sep 22 14:17:57 CDT 2011

A css reset is just a group of css declarations which aim to iron out
browser rendering inconsistencies: http://meyerweb.com/eric/tools/css/reset/

Once you do that, it's much easier to control elements and do things like
work with a baseline grid, etc.

None of this directly addresses the 'vspace' issue outlined below. However,
the repetitive injection of the vspace class is an indicator (to me at
least) that there might be more efficient ways to style the default html
elements. If you flip the problem around, default html tags should be
acceptable most of the time and you add classes only when you need to alter
the default styling.

A reset and some standard typography css just makes it easier to get html
tags to look acceptable as the default.

On Thu, Sep 22, 2011 at 2:19 AM, John Rankin <john.rankin at affinity.co.nz>wrote:

> > Paul Giacherio wrote:
> >
> >>The .vspace function can be eliminated if we include a proper css reset.
> >>This includes a simple reset with and no .vspace. It needs fine tuning
> >> but it handles most elements pretty well.
> What does "proper css reset" mean, please?
> >>
> >>
> http://paulgiacherio.kodingen.com/pmwiki/pmwiki-2.2.30/pmwiki.php?n=PmWiki.DocumentationIndex
> >
> I support those who commended this design and agree with the comment that
> making something happen when a visitor hovers over a link would be a Good
> Thing. border-bottom 1px solid would be sufficient (following Wikipedia's
> convention).
> > see the "vspace revisited" discussion in this list started 2011-07-22.
> >
> > Anyway, having more paragraphs _with_ vspace than without is not
> > beautiful in my opinion. Wouldn't it be more elegant to use a class
> > "lessvspace" for the small number of paragraphs where the vertical
> > space is not wanted?
> This is a very interesting suggestion and makes good sense to me. It is
> almost as easy to implement as moving class='vspace' onto every element
> that can be preceded by <div class='vspace></div> in the current
> environment. The code would just have to insert class='lessvspace' when
> the tag isn't preceded by a vspace.
> However, I would really like to understand what is meant by "proper css
> reset" and how it would distinguish between:
> * a list item with no vspace above
> * a following item with no vspace above
> * another item with vspace above
> Followed by a paragraph with vspace above.
> Plus all the other spaced/unspaced combinations an author may use, so
> pmwiki continues to honour the author's intentions.
> JR
> --
> John Rankin
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Paul Giacherio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110922/f26d4d3b/attachment.html>

More information about the pmwiki-users mailing list