.td1{background:url(images/tab1.gif) 0 0 repeat-x;}.td2{background:url(images/tab2.gif) 0 0 repeat-x;}
td.td1{
background-image:url(csxt.jpg);
}
td.td2{
background-image:url(1.jpg);
}
The answer has been given upstairs...
td.td1{
background-image:url(csxt.jpg);
}
td.td2{
background-image:url(1.jpg);
}
Tried, No
How could it not work? Is it not displayed? Fill in some data in the cell and see
CSS code?12.td1{background:url(images/tab1.gif) 0 0 repeat-x;}.td2{background:url(images/tab2.gif) 0 0 repeat-x;}
What do the two 0s in the background mean?
What do the two 0s in the background mean?
background-position
http://www.w3school.com.cn/css/pr_background.asp
Just add the background attribute to td1 td2
Often There will be path problems. It is recommended to use relative paths to obtain the image location
<td style="background:url('images/img1.jpg')"></td><td style="background:url('images/img2.jpg')"></td>
.td1{ background:url('images/img1.jpg');}.td2{ background:url('images/img2.jpg');}
The 10th floor should be fine
CSS code?12