Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/svg/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 我的桌子在IE上的奇怪行为_Html_Css_Internet Explorer_Html Table - Fatal编程技术网

Html 我的桌子在IE上的奇怪行为

Html 我的桌子在IE上的奇怪行为,html,css,internet-explorer,html-table,Html,Css,Internet Explorer,Html Table,在这个网站上,是的,它是旧的,都在表中,一切都可以在Chrome和FF上正常工作。但在IE11上,我看到两个图像之间有白色分隔,这两个指示和我的圆底背景显示不正确。试试这个: <td width="300" align="left" background="images/background3.gif" 只需将align=right更改为align=left即可检查浏览器模式。如果是怪癖模式或兼容性模式,那么很可能你已经发现了问题所在。为什么不使用CSS呢?另外,在表格中对齐东西是一种糟

在这个网站上,是的,它是旧的,都在表中,一切都可以在Chrome和FF上正常工作。但在IE11上,我看到两个图像之间有白色分隔,这两个指示和我的圆底背景显示不正确。

试试这个:

<td width="300" align="left" background="images/background3.gif"

只需将align=right更改为align=left

即可检查浏览器模式。如果是怪癖模式或兼容性模式,那么很可能你已经发现了问题所在。为什么不使用CSS呢?另外,在表格中对齐东西是一种糟糕的做法。@ZDroid我同意使用css是正确的方法,但问题不在于是否使用css。我知道,这只是给你的一个提示: