trs inside a box
Is there a way to 开发者_运维知识库put 3 trs ina table inside a box kind of border??
You can add another <tbody>
for these <tr>
s, which seems to do what you mean (note that I couldn't get it to work on IE6).
<table>
<tbody>
<tr><td>before</td></tr>
</tbody>
<tbody class="RedBorder">
<tr><td>1</td></tr>
<tr><td>2</td></tr>
<tr><td>3</td></tr>
</tbody>
<tbody>
<tr><td>after</td></tr>
</tbody>
</table>
Example: http://jsfiddle.net/kobi/gaQ9V/
精彩评论