Can i clear styles

in my page I have

<link href=“css/Fin.css” rel=“stylesheet” type=“text/css”>

// table,tr,td defined in Fin.css.

I want to clear those styles for my new <table>,<tr>,<td> …is it possible ?

You should only need to clear the table since it’s the parent, but yes you can :slight_smile:
table{clear:both;}

Is that what you meant?

I thought it sounded like he wanted new styling rules for his new table?

if so you can add !important after a style decloration to over-ride a previous decloration.

Having said that it would probably be easier to target the table via its parent class eg:



/********* in your css ********/

.old_table table 
{
 rules
}

.old_table table tr td
{
 rules
}

.table_holder table 
{
 rules
}

.table_holder table tr td
{
 rules
}


/******** html ************/

<div class="old_table">
<table>
  etc
</table>
</div>

<div class="table_holder">
<table>
  etc
</table>
</div>


or just by giving the table a class name and assigning styles that way (remembering to remove the original table tr td generic css).

ive used some pretty ugly markup their to make the example obvious so you might want to change the classes etc to something relative in your site :slight_smile: