css selections

  • Thread starter Thread starter rodchar
  • Start date Start date
R

rodchar

hey all,
i have a 4x4 table where each cell has a cssClass assigned. there's a range
of cells in a column that i'd like to align center. i know i can get each
cell and do align center on it but i was wondering if there was other ways to
get to that range of cells and set its attributes?

thanks,
rodchar
 
rodchar said:
hey all,
i have a 4x4 table where each cell has a cssClass assigned. there's a range
of cells in a column that i'd like to align center. i know i can get each
cell and do align center on it but i was wondering if there was other ways to
get to that range of cells and set its attributes?

In order for a CSS selector to pick out any set of elements there must be
something about them that indicates they belong to the selection.

If you want to apply a style to only a subset of cells that is neither a
whole row or column you will need to apply an additional class name (note
the class attribute in HTML can contain multiple names) to the cells that
require additional formatting.
 
Back
Top