+ -
当前位置:首页 → 问答吧 → table 边框线在火狐下无法显示,如何解决

table 边框线在火狐下无法显示,如何解决

时间:2011-08-23

来源:互联网

<table border="0" cellpadding="3" cellspacing="1" width="100%" align="center" style="background-color: white;" >
在ie6下,边框线为白色,在火狐下无法显示。为啥啊??

作者: xiaofei1ove   发布时间: 2011-08-23

确定在ie6下显示了? 我在ie9下测试了 不能显示 你把border值改大点试试

作者: zsx841021   发布时间: 2011-08-23

<table border="0" cellpadding="3" cellspacing="1" width="90%" align="center" style="border:solid 1px #333333;border-collapse:collapse;" >

改成这样以后边框线可以显示了。可是我也显示网格线啊。怎么办呢?

作者: xiaofei1ove   发布时间: 2011-08-23

改成这样:HTML code
<table border="1" cellpadding="3" cellspacing="1" width="100%" 
align="center" style="border:1px solid red" >

作者: dalmeeme   发布时间: 2011-08-23

引用 3 楼 dalmeeme 的回复:

改成这样:HTML code
<table border="1" cellpadding="3" cellspacing="1" width="100%"
align="center" style="border:1px solid red" >

我这里网格线还是无法显示,什么css设置会屏蔽网格线呢?我调用了很多的css文件,不知道哪里错了。

作者: xiaofei1ove   发布时间: 2011-08-23

style="border:1px solid red"

作者: LXQYYH   发布时间: 2011-08-23

热门下载

更多