开发者

trs inside a box

开发者 https://www.devze.com 2023-01-20 02:22 出处:网络
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

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

精彩评论

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

关注公众号