请问HTML网页创建的表格 单元格里能插入斜线格吗?

请问HTML网页创建的表格 单元格里能插入斜线格吗?,第1张

下面这段代码可以画一条斜线,不知道对你有没有一点帮助
第一种:
<HTML xmlns:v>
<style>
v\: { behavior: url(#default#VML); }
</style>
<body>
<v:line from="0,0" to="260,100"></v :line>
</body>
</html>
第二种:
<script language="Javascript">
<!--
documentwrite('<div style=\"font-size:1px;line-height:1px;letter-spacing:0px;\">');
var te='<font color=\"#ffffff\">';
for(i=100;i>0;i--){te='<font color=\"ffffff\">';
for(j=1;j<i;j++){te=te+'■';}
documentwrite(te+'</font><font color="#000000" id="a1">■</font>');
te='<font color=\"ffffff\">';
for(k=0;k<100-i;k++){te=te+'■';}documentwrite(te+'<br>')}
documentwrite('</div>')
--></script>


欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/yw/13313399.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2025-08-31
下一篇2025-08-31

发表评论

登录后才能评论

评论列表(0条)

    保存