[pmwiki-users] Re: Thin horizontal rule?

Patrick R. Michaud pmichaud at pobox.com
Sun Oct 9 09:20:41 CDT 2005


On Fri, Oct 07, 2005 at 09:51:26AM +0200, Robert Riebisch wrote:
> John Rankin wrote:
> 
> > h3 { border-bottom: 1px dashed; }
> 
> OK, but I'm using NumberedHeaders (Sorry, John!) and my headers start
> with h1. So the above applies to the "title" markup too. How can I avoid
> this? (Yes, I could use h2, but it would require to rewrite all pages.)
> 
> Something like "h1 /except/ .pagetitle { border-bottom: 1px dashed; }".

You might try:

    h1 { border-bottom: 1px dashed; }
    h1.pagetitle { border-bottom: none; }

The "h1.pagetitle" selector is more specific than a plain "h1", so it'll
override the previous rule for displaying the above title.

Pm




More information about the pmwiki-users mailing list