[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Re: Is it time to rely on CSS?
On Wed, 2003-01-22 at 06:41, Norman Walsh wrote: > The point is, what should be generated for those places where some > formatting distinction would be desirable even in the case when CSS is > not used? Or when HTML doesn't provide semantic markup for the distinction? > > There are two cases: > > 1. Elements that you'd like to have distinguished and where there's reasonable > HTML markup that can be used. > > 2. Elements that you'd like to have distinguished but for which no HTML > markup provides the desired effect. > > Figure titles are an example of the first case. Using: > > <p><b>Figure Title</b></p> > > produces a decent result in basically all browsers. Using > > <div class="figtitlediv"><span class="figtitle">Figure Title</span></div> > > would be semantically purer in some ways, but would be indistinct if > no CSS was provided. Well, I'll have to agree with Jirka, in the thread "CSS for command tag": why not do both? example: <p class="figure_title"><b>Figure Title</b></p> or <p><span class="figure_title"><b>Figure Title</b></span></p> That way, a user can write a CSS selector to ignore the <b> under a p.figure_title... -- Matt Meola AFØD http://www.qsl.net/af0d/index.html
Attachment:
signature.asc
Description: This is a digitally signed message part
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC