| 
 Posted by Jeremy Brown on 05/18/06 21:37 
Thank you sir, 
this helps alot. 
 
Jeremy 
 
--  
Visit my Saab & me at: 
http://jerem43.home.att.net 
 
 
"Toby Inkster" <usenet200605@tobyinkster.co.uk> wrote in message  
news:qkltj3-n1e.ln1@ophelia.g5n.co.uk... 
> Jeremy Brown wrote: 
> 
>> I am inherently lazy and do not want to type a class="xxxx" in every 
>> row <tr> and data <td> entry of a table. 
> 
> TABLE.foo    { color:blue; border:1px solid green; } 
> TABLE.foo TD { color:blue; border:1px solid red;   } 
> 
> <table class="foo"> 
> <tr><td>a</td><td>b</td></tr> 
> <tr><td>1</td><td>2</td></tr> 
> </table> 
> 
> Go read up on descendant selectors. 
> 
> --  
> Toby A Inkster BSc (Hons) ARCS 
> Contact Me  ~ http://tobyinkster.co.uk/contact 
>
 
  
Navigation:
[Reply to this message] 
 |