0
<td title="He is from KL working in Assyst at Kochi.Today Ind vs Aus match 2nd semi final Aus won the game India Lost">He is from....</td>

How can i give css to above table column? I tried like this but it doesn't work in asp.net grid view control with boundfield?

table, tr, td:title
{
    background-color: #efefef;
    padding: 10px;
    color: red;
    border: 1px solid blue;
    text-align: justify;
}

How can resolve it?

elsit
  • 1
  • 5

2 Answers2

0

Give the element an id.

For example

<td id="titleId" title="He is from KL working in Assyst at Kochi.Today Ind vs
     Aus match 2nd semi final Aus won the game India Lost">He is from....</td>

#titleId
{
background-color: #efefef;
padding: 10px;
color: red;
border: 1px solid blue;
text-align: justify;
}
Beshman88
  • 63
  • 1
  • 1
  • 8
-1

You can try it as follows

<td style="background-color: #efefef""padding: 10px""color: red""border: 1px solid blue""text-align: justify">
Abhishek M
  • 90
  • 1
  • 7