views:

2285

answers:

2

I have a table which has a certain style due to the css file for the page (it has blue borders, etc...).

Is there a simple way to remove the css for that specific table? I was thinking something along the lines of a command like style="nostyle"

Does anything like this exist?

+1  A: 

Use a CSS reset like the YUI CSS reset.

Jon Galloway
Is there anything similar for JQuery?
RichardOD
@RichardOD: YUI CSS reset doesn't require any javascript. It is CSS-only. So it will work with jQuery.
Kristof Neirynck
@Kristof Oh yeah- I didn't noticed that first. I just assumed YUI was JavaScript. Thanks
RichardOD
+5  A: 

Try this.

From Eric Meyer's Reset CSS

table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
Kristof Neirynck
yes, this is what i was looking for. thanks!
chris