为什么html嵌套表格时,内层表格的背景图显示不出来?_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:34:44
Original
2204 people have browsed it

html做嵌套表格,内层表格的单元格设置了背景图,结果没有显示出来,但是查看源文件,td的background 属性已经加上了。

另做一个页面,写了一个单层的表格,背景图能正常显示。。


请问这是为什么??


回复讨论(解决方案)

Copy after login



这样也不行,tab1的两个背景图都能显示,tab2的背景图就显示不出来。

调吧。搞点内容看看。搞个背景色看看。

这么和你说吧 图片不出来只有两种原因
一种是你background后面的路径写错了 推荐用相对路劲 不要用绝对路径
一种就是根本没这张图片。。。

忘了补充 有些格式的图片 是显示不出来的 用jpg试试

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!