atom feed36 messages in org.oasis-open.lists.docbookRe: DOCBOOK: Re: Fw: programlisting
FromSent OnAttachments
Gert Bultman (Xi)Aug 14, 2002 3:03 am 
Yann DirsonAug 14, 2002 3:13 am 
Gert Bultman (Xi)Aug 14, 2002 4:14 am 
Ramon CasellasAug 14, 2002 5:54 am 
Dave PawsonAug 14, 2002 10:19 am 
Bob StaytonAug 14, 2002 7:17 pm 
Dave PawsonAug 14, 2002 10:08 pm 
John R. DailyAug 14, 2002 10:36 pm 
Bob StaytonAug 15, 2002 12:17 am 
Dave PawsonAug 15, 2002 11:47 am 
Bob StaytonAug 15, 2002 1:41 pm 
John R. DailyAug 15, 2002 1:52 pm 
Dave PawsonAug 15, 2002 10:31 pm 
John R. DailyAug 15, 2002 11:04 pm 
John R. DailyAug 15, 2002 11:23 pm 
peter riegerspergerAug 15, 2002 11:27 pm 
ed nixonAug 16, 2002 5:24 am 
John R. DailyAug 16, 2002 7:07 am 
David CramerAug 16, 2002 7:39 am 
ed nixonAug 16, 2002 7:40 am 
John R. DailyAug 16, 2002 8:30 am 
Dave PawsonAug 16, 2002 10:46 am 
Dave PawsonAug 16, 2002 10:55 am 
John R. DailyAug 16, 2002 10:59 am 
John R. DailyAug 16, 2002 11:23 am 
Norman WalshAug 16, 2002 12:01 pm 
ed nixonAug 16, 2002 12:09 pm 
John R. DailyAug 16, 2002 12:32 pm 
Bob StaytonAug 16, 2002 12:39 pm 
Dave PawsonAug 16, 2002 12:58 pm 
Dave PawsonAug 16, 2002 1:01 pm 
Paul GrossoAug 17, 2002 1:01 am 
Jens StavnstrupAug 18, 2002 11:49 pm 
Dave PawsonAug 19, 2002 9:58 am 
Norman WalshAug 20, 2002 6:32 am 
Dave PawsonAug 20, 2002 10:36 am 
Subject:Re: DOCBOOK: Re: Fw: programlisting
From:John R. Daily (jo@geekhavoc.com)
Date:Aug 16, 2002 12:32:11 pm
List:org.oasis-open.lists.docbook

At (time_t)1029524430 Norman Walsh wrote:

Do we have consensus that

<pre class="programlisting myrole">

is a good idea (actually, the general principle that ' rolevalue' can be tacked onto the class attribute)?

There is presumably more information that could be added as well, such as presentation clues.

As an example, the spacing="compact" attribute for lists as applied through the current stylesheets (becomes ul compact="compact") doesn't seem to work with Mozilla, at least, and the compact attribute in HTML is deprecated.

One alternative would be to add "compact" to the class attribute of a list, and use CSS:

.compact li p { display: inline; }

Since several of you have clearly been reading the CSS spec, how is the following situation disambiguated:

.programlisting { background-color: red; } .myrole { background-color: blue; }

by order of rules in CSS?

In general, specificity wins, but in this case that doesn't help.

If one stylesheet imports another, the importer will override the importee.

If two rules are defined in the same stylesheet, the latter one wins.

-John