You can set the table's className - so why not just do it on a table basis? 
For example - you have two tables, table1 and table2

You could do:

table.table1 tr.tableRowOdd {
    background: blue;
}

table.table2 tr.tableRowOdd {
    background: red;
}

I don't understand why you would need to set the classes manually - and you
could always use the DOM and JavaScript to set the classes for elements
dynamically. Example at http://tinyurl.com/emmy.

Matt



--- Torgeir Veimo <[EMAIL PROTECTED]> wrote:
> On Wed, 2003-06-18 at 14:02, Fabrizio Giustina wrote:
> >  
> > so you should also be able to not to display headers and not include a
> > table body... or you want to display two table headers&body in the
> > same table?
> > speaking about table meaning in html, doing a such thing only to
> > define the size of columns is not a good thing. If you want to control
> > column width (presentation) you should use css. 
> 
> One thing I would like to see is the possibility to set the classnames
> used for css, instead of the default ones. This is important when using
> the taglib in a larger webapp.
> 
> -- 
> Torgeir Veimo <[EMAIL PROTECTED]>
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> displaytag-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel
> 
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to