bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why 2 css classes for settitle and titlefont ?


From: Stephen Gildea
Subject: Re: why 2 css classes for settitle and titlefont ?
Date: Tue, 29 Jul 2003 10:56:41 -0400

>      Why is there a css class for settitle and titlefont ? Maybe it could be
>      simpler to have the same style for the titles ?
>   
>   That's what Stephen's patch did :).  I don't mind either way, it sounds
>   reasonable to have them be the same.

Using different classes gives you more flexibility.  I didn't want to
assume that the two cases would always be treated the same.  For
example, someone might use @titlefont for something other than the main
title.

On the other hand, if you do want them to be the same, it is trivial to
specify the same CSS for both, like this:

.titlefont, .settitle { 
    ...;
}

So using different classes works both ways.  I would expect most style
sheets to follow the example here and specify the same style for both
classes, but I wouldn't want to force that on authors.

 < Stephen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]