jeudi 7 avril 2016

How do I make a specific td not inherit styles from the parent?

How do I make a specific td not inherit CSS styles from the table?

http://puu.sh/oahNO.png

How should I go about making the right most column not have any background at all?

table {
font-family:Arial, Helvetica, sans-serif;
color:#666;
font-size:12px;
text-shadow: 1px 1px 0px #fff;
background:#eaebec;
margin:20px;
border:#ccc 1px solid;

-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;

-moz-box-shadow: 0 1px 2px #d1d1d1;
-webkit-box-shadow: 0 1px 2px #d1d1d1;
box-shadow: 0 1px 2px #d1d1d1;
}

As it stands, the background #eaebec displays for the rightmost td's as well, even though I set its background to transparent.

Appreciate all the help.




Aucun commentaire:

Enregistrer un commentaire