earwig75
asked on
How to ignore .css and other styles on a table
I have a table on a page and I would like that table to ignore all other styles specified on the page or linked to with a .css file. could someone assist?
I don't want to set any styles on this table at all by default because I am going to use coldfusion to alternate row colors on this table's tds and trs.
Thanks.
I don't want to set any styles on this table at all by default because I am going to use coldfusion to alternate row colors on this table's tds and trs.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SidFishes...
I am outputting my query like this.... can I still use that method? If so can you show me a small sample?
<table>
<tr>
<th>type</th>
<th>make</th>
<th>model</th>
</tr>
<cfoutput query="allCars">
<tr>
<td>#type#</td>
<td>#make#</td>
<td>#model#</td>
</tr>
</cfoutput>
</table>
You can just set the style of the row at output...
I am outputting my query like this.... can I still use that method? If so can you show me a small sample?
<table>
<tr>
<th>type</th>
<th>make</th>
<th>model</th>
</tr>
<cfoutput query="allCars">
<tr>
<td>#type#</td>
<td>#make#</td>
<td>#model#</td>
</tr>
</cfoutput>
</table>
Open in new window
Basically you'll just reset all styles to 0 or blank in that class/id