user1250526 user1250526 - 10 months ago 44
CSS Question

Is there a way to take off the style off a certain table?

I have a css file which styles my tables, although I have one table where I would like to use a different style, or no style? is there a way I can do something like

<table style="no-style">
and then it is plain and ignores the CSS?

I have looked but I can not find anything related!

Answer Source

Use class definitions for table properties in your CSS file. Whenever you want them, use with class property.


table.myClass {


<table class="myClass">...</table>
<table class="anotherTableWithAnotherClass">...</table>