Do you mean that style should apply to all td?
Well, if so, what you did doesn't work, what you did is called the css inline style, which will only apply to this particular element.
if you want it to be applied to all td, then you will need to have the so-called css inner style:
<html> <head> <style> td{ //your code here } </style> </head> <body> //your code here </body> </html>
and by the way, your code nesting is not correct,
u has an opening tag "a" and then an opening tag "td", then closes the tag "a" and then closes the tag "td" ...
You must either have it as:
<td><a></a></td> or <a><td></td></a>
to try:
<tr> <td style="background-color:#000;height:40px;width:475px;"> <a href="http://www.google.com" style="color:#FFF;height:40px;width:475px;display:block;">Click Me</a> </td> </tr>
source share