OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] First title in chunked output


You can make a CSS selector more specific by including the div that contains 
the div with class="titlepage".

div.chapter div.titlepage {
}

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Jere Käpyaho" <jere.kapyaho@gmail.com>
To: "Ken Morse" <kenneth.morse@gmail.com>
Cc: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
Sent: Thursday, January 03, 2008 11:49 AM
Subject: Re: [docbook-apps] First title in chunked output


> Hi Ken,
>
> this is really more of an idea than a solution, but CSS3 has  structural 
> pseudoclasses (http://www.w3.org/TR/css3-selectors/ #structural-pseudos), 
> some of which might fit the bill. As for  implementations... well, have a 
> look at http://www.css3.info, there's  even a selector test suite.
>
> HTH,
> Jere
>
>
> Ken Morse kirjoitti 3.1.2008 kello 20.47:
>
>> Hello,
>>
>> Anyone know of a way to treat the first <div class="titlepage"> on  a 
>> chunked XHTML output page differently? Bob Stayton's book has a  nice 
>> example covering Styling section headings with CSS (page 72 in  the 
>> Fourth Edition) but the CSS example will style other divs on  the same 
>> page that have class="titlepage" too -- I want to style  just the first 
>> one.
>>
>> Any ideas on how I could do this?
>>
>> Thanks,
>> Ken
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]