Do you mean something like what is described here:

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

Bob Stayton
Sagehill Enterprises
[email protected]


  ----- Original Message ----- 
  From: Kerry, Richard 
  To: DocBook Apps Mailing List ‎[[email protected]]‎ 
  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

  [email protected]

  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: [email protected]
  For additional commands, e-mail: [email protected]

Reply via email to