开发者

HTML / CSS table with GRIDLINES

how do I display the gridlines开发者_运维问答 in a HTML table? (am using IE6)


Via css. Put this inside the <head> tag.

<style type="text/css" media="screen">

table{
border-collapse:collapse;
border:1px solid #FF0000;
}

table td{
border:1px solid #FF0000;
}
</style>


<table border="1"></table>

should do the trick.


For internal gridlines, use the tag: td For external gridlines, use the tag: table

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜