way to override a CSS style of: table td{}

way to override a CSS style of: table td{}

I have a table rendered through css stylesheet.
table id="table-3">....
/table>



This applies it to all tables in my project. Somewhere my user want a different td. So to override default table td css i used this in my td tag:


td style='background-color: lime'>


It can also be override by using inline span tag


span style='background-color: lime'>



You can overide css by specifying !Impartent like below

background-colorlime !important;


- Vinod K

Comments

Popular Posts