I want to set the background color to hole td using span.
Here is my code:
<td>
<span style="background-color: red;">pending</span>
</td>
If I give it like this I am getting background color to text only but i want bg color to hole td.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try this:
See example