I have a couple of similar questions.
1) I have a kind of table that will always have 3 columns, each with various styles defined. I know I can define a class for each column:
col.co11 {.....}
col.col2 {.....}
col.col3 {.....}
and then start my table
<table><col class=col1><col class=col2><col class=col3>...
But isn't there a way I can define all of styles for each column all inside one table class so that I can just start the table <table class=classname> and that is all I need? I haven't been able to do it.
2) Similarly, in this same table I want to have my links appear differently than the links in the rest of my page. I know I can define a separate class for the links:
a.t1:link {....} a.t1:visited {...} and then start each link <a class=t1.... or nest SPAN tags with this class inside the table tags. But isn't there a way I can define the style for these links and include them in my table class, so just by having a table of that class
<table class=whatever> the links will appear that way in the table?
Thanks,
Doug
1) I have a kind of table that will always have 3 columns, each with various styles defined. I know I can define a class for each column:
col.co11 {.....}
col.col2 {.....}
col.col3 {.....}
and then start my table
<table><col class=col1><col class=col2><col class=col3>...
But isn't there a way I can define all of styles for each column all inside one table class so that I can just start the table <table class=classname> and that is all I need? I haven't been able to do it.
2) Similarly, in this same table I want to have my links appear differently than the links in the rest of my page. I know I can define a separate class for the links:
a.t1:link {....} a.t1:visited {...} and then start each link <a class=t1.... or nest SPAN tags with this class inside the table tags. But isn't there a way I can define the style for these links and include them in my table class, so just by having a table of that class
<table class=whatever> the links will appear that way in the table?
Thanks,
Doug