[thelist] CSS - Making a column in table emphisized

Tony Crockford tonyc at boldfish.co.uk
Sat Nov 13 14:13:01 CST 2004


At 19:23 on Saturday, 13 Nov 2004, Brian Reaves wrote:

> I am trying to use CSS to make the 3rd column (not the th but td rows)  
> on (http://alabamamosasaur.info/individual_images/) italic.
>
> This doesn't seem to be working:
>
> table#allImg tr td td td {
>    font-style: italic;
>    }
>
> Any ideas?

you should use colgroup to specify the column and apply a style that way,  
or do td+td+td{font-style: italic;}


references:

http://www.htmlhelp.com/reference/html40/tables/colgroup.html

http://archivist.incutio.com/viewlist/css-discuss/20485
http://archivist.incutio.com/viewlist/css-discuss/20490

hth


More information about the thelist mailing list