html - How to add repeat-x for table td with background url -


i have html table 3 tds there, need add image middle td in tr property repeat-x; property. not working me.
code:

     <td style="background-image:url('repeatbanner.png');background-repeat: repeat-x;"> 

i have tried width:auto also, no result.please try me.

demo

<table border='1' width='100%'>     <tr>         <td style="background-image:url(https://www.google.co.in/images/icons/product/chrome-48.png); background-repeat: repeat-x; ">dgfdg</td>         <td>gdgd</td>     </tr> </table> 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -