[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: Re: Fw: programlisting
/ Paul Grosso <pgrosso@arbortext.com> was heard to say:
| At 15:00 2002 08 16 -0400, 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)?
|
| What happens when the user assigns to the (source) role attribute
| a value that looks like something the stylesheets are already
| putting into the (output) class attribute for another element?
|
| For example, what if the user put <div role="programlisting">
| or <emphasis role="programlisting">?
The result will something like <div class="section programlisting"> and
<em class="programlisting">. If your CSS stylesheet is nonspecific
about the programlisting class value:
.programlisting {...}
instead of
pre.programlisting {...}
you'll likely get odd results. Your gun, your bullet, your foot?
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The sudden disappointment of hope
http://www.oasis-open.org/docbook/ | leaves a scar which the ultimate
Chair, DocBook Technical Committee | fulfillment of that hope never
| entirely removes.--Thomas Hardy
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC