Html h3标签内的文本在IE8中不可见?
我在h3标签中有文本,它在FF和chrome中运行良好。但在IE8中,文本是不可见的。我不知道怎么了。这是html html:Html h3标签内的文本在IE8中不可见?,html,css,internet-explorer-8,Html,Css,Internet Explorer 8,我在h3标签中有文本,它在FF和chrome中运行良好。但在IE8中,文本是不可见的。我不知道怎么了。这是html html: 轮廓 **拯救** 如何修复此问题? <div id="right"> <h3> profile </h3> <div id='upload' class="save" style="float:right; display:none; font-family: comicsans
轮廓
**拯救**
如何修复此问题?
<div id="right">
<h3>
profile
</h3>
<div id='upload' class="save" style="float:right; display:none; font-family: comicsans; padding-right: 20px; cursor:pointer">
<img src="jqe13/image/fb.PNG">
<span class="blink">**Save**</span>
</div>
</div>
轮廓
**拯救**
第一件事是div不应该在h3标记下使用,因此它可能会产生问题,另一件事是,对于div,您已经将css属性设置为dislay:none,它将不允许您显示其中的任何内容。因此,如果要显示div下的内容,必须删除此属性
希望这对您有用。是因为您有
display:none代码>?但是div中的图像仍然可见。div
不允许在h3
中使用。修复无效的HTML。div中的图像是可见的。一定有一些内容您没有告诉/显示给我们,因为此代码无法显示图像。
<div id="right">
<h3>
profile
</h3>
<div id='upload' class="save" style="float:right; display:none; font-family: comicsans; padding-right: 20px; cursor:pointer">
<img src="jqe13/image/fb.PNG">
<span class="blink">**Save**</span>
</div>
</div>