开发者

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜