Next in thread → Next in month →

RE: [docbook-apps] Striped tables in Html Help

From
Kerry, Richard <>
Date
2012-08-10T18:18:28+00:00
ID
1A5AEF8A-9308-4FBB-B4A9-D8F27108C97F@mimectl
Thread
RE: [docbook-apps] Striped tables in Html Help
Bob, 

Thank you, that would seem to be exactly it !

 

In this instance Google wasn't my friend .....

(probably didn't find the right search terms)

 

 

Appreciatively,

Richard.

 

 

 

 

Richard Kerry

BNCS Engineer

T: +44 (0)20 82259063

M: +44 (0)7812 325518

Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ



uk.atos.net

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you
 receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer
 virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

From: Bob Stayton []

Sent: 10 August 2012 18:34

To: Kerry, Richard; 

Subject: Re: [docbook-apps] Striped tables in Html Help

Do you mean something like what is described here:

 

http://www.sagehill.net/docbookxsl/BGtableColor.html#TableRowBackground

 

Bob Stayton

Sagehill Enterprises



 

 

----- Original Message ----- 

From: 
Kerry, Richard 

To: 
DocBook Apps Mailing List ‎[]‎ 

Sent: Friday, August 10, 2012 10:07 AM

Subject: [docbook-apps] Striped tables in Html Help

 

I'd like to apply a "striped" effect to some tables that I'm creating in some Html-Help (ie chm) that I'm generating from DocBook. 

 

Has anyone already done this ?

Is there a setting already available or will I need to customize something ?   In which case what ?

(I'd also like to do it in a Revision History table)

 

Presumably it's a matter of having two styles and getting the stylesheet to apply them to alternate entries (tr's).  So I need also to be able to count the number of preceeding entries, though that seems like it'll just be a count(preceeding-sibling::*).

 

Apparently there's a tr:nth-child control in CSS3 but as I'm doing chm that's effectively IE and reported as not available there.

 

 

Regards,

Richard.

 

 

 

 

Richard Kerry

BNCS Engineer

T: +44 (0)20 82259063

M: +44 (0)7812 325518

Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ



uk.atos.net

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you
 receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer
 virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

---------------------------------------------------------------------

To unsubscribe, e-mail: 

For additional commands, e-mail: 

Attachment:
blank

Description: blank
Next in thread → Next in month →