问题描述
奇怪的症状,我在此页面上看到(仅当使用IE查看时) 6)的优点是,当页面被加载或调整大小时,< h1>
标签的文本是不可见的,但是当鼠标悬停在其上左拐角。我没有看到这个与任何其他浏览器,我修改任何h1标签的唯一的CSS属性是这些:
The bizarre symptom I'm seeing on this page (only when viewing with IE 6) is that the text of the <h1>
tag is invisible when the page is loaded or resized, but appears when I mouse over the region where it appears in the upper-left corner. I haven't seen this with any other browser, and the only CSS attributes I'm modifying for any h1 tag are these:
- 字体-size
- font-weight
- margin,margin-top
- padding,padding-top -bottom
- font-size
- font-weight
- margin, margin-top
- padding, padding-top, padding-bottom
无法更改可见
或显示
,并且h1没有悬停效果。即使标题中的非链接文本也消失了。任何想法?
Nowhere do I change visible
or display
, and there are no hover effects for the h1. Even the non-link text inside the header disappears. Any ideas?
推荐答案
同意John的帖子。我有(通过运气)能够绕过这个调试过程偶尔通过给元素 position:relative
或 position:static
Agreeing with John's post. I have (by sheer luck) been able to circumvent this debugging process on occasion by giving the element position: relative
or position: static
rules.
因此,你可能需要穿过你的手指,然后在下去约翰的路线之前给你一个旋转。
So you may want to cross your fingers and give that a whirl before going down John's route.
这篇关于h1标签的内容不可见,直到在IE 6中鼠标悬停的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!