Re: [css-d] apply a style to specific table column

2010-03-03 Thread Bob Meetin
Philippe Wittenbergh wrote: > On Mar 4, 2010, at 7:45 AM, Bob Meetin wrote: > >> For my purposes, needs in this case, being able to set the background >> color will fit the bill; it would be nice if font color was valued by >> all browsers consistently but seeing that it's not, I can "deal" wi

Re: [css-d] apply a style to specific table column

2010-03-03 Thread Philippe Wittenbergh
On Mar 4, 2010, at 7:45 AM, Bob Meetin wrote: > For my purposes, needs in this case, being able to set the background > color will fit the bill; it would be nice if font color was valued by > all browsers consistently but seeing that it's not, I can "deal" with > it. Here is a sample which you

Re: [css-d] apply a style to specific table column

2010-03-03 Thread Bob Meetin
Jukka K. Korpela wrote: > Eric A. Meyer wrote: > > >>There is one non-class approach that's fairly cross-browser >> friendly, and that's to use a combination of :first-child and >> adjacent-sibling combinators: >> >>td:first-child + td + td {...styles for third column...} >> >> That work

Re: [css-d] apply a style to specific table column

2010-03-01 Thread Eric A. Meyer
At 12:37 PM -0500 3/1/10, Reese wrote: >On 01-Mar-10 12:05, Eric A. Meyer wrote: > >> Again, neither of those will work in IE6/NN4 but they'll be fine in >> any vaguely recent browser. > >Not to start a religious war, but NN4? Just a small, apparently botched attempt at some wry humor. Pay

Re: [css-d] apply a style to specific table column

2010-03-01 Thread Jukka K. Korpela
Eric A. Meyer wrote: >There is one non-class approach that's fairly cross-browser > friendly, and that's to use a combination of :first-child and > adjacent-sibling combinators: > >td:first-child + td + td {...styles for third column...} > > That works in every current browser. It will fa

Re: [css-d] apply a style to specific table column

2010-03-01 Thread Reese
On 01-Mar-10 12:05, Eric A. Meyer wrote: > Again, neither of those will work in IE6/NN4 but they'll be fine in > any vaguely recent browser. Not to start a religious war, but NN4? I can see more recent versions of NN but NN4? Do we make the same sort of observations on IE3 or IE4? It seems like

Re: [css-d] apply a style to specific table column

2010-03-01 Thread Eric A. Meyer
At 8:15 AM -0700 3/1/10, Bob Meetin wrote: >The first column is a key of sorts, the rest data. Yes I can do >something like: > >some keydatastyle="color: #ff">data > >Since all of column #1 will take on the same appearance, is there a >method of setting a global type style that only applies t

Re: [css-d] apply a style to specific table column

2010-03-01 Thread James Leslie
-Original Message- Let's say you have a table to 10 columns and 100 rows. With rows you can fairly easily set up a custom style to apply to a row, but what about columns? The first column is a key of sorts, the rest data. Yes I can do something like: some keydatadata Since all of colu

[css-d] apply a style to specific table column

2010-03-01 Thread Bob Meetin
Let's say you have a table to 10 columns and 100 rows. With rows you can fairly easily set up a custom style to apply to a row, but what about columns? The first column is a key of sorts, the rest data. Yes I can do something like: some keydatadata Since all of column #1 will take on the sam