Css 单击内部链接时Opera中正在消失的div
我对歌剧中消失的女主角有意见。Css 单击内部链接时Opera中正在消失的div,css,Css,我对歌剧中消失的女主角有意见。 单击链接时,标题将消失… 请帮忙 <style type="text/css"> body { height: 100%; border: 0; margin: 0; padding: 0; font-size: 100%; } #top { position:fixed; height: 60px; margin: 0; background-color: #ccc;
单击链接时,标题将消失…
请帮忙
<style type="text/css">
body {
height: 100%;
border: 0;
margin: 0;
padding: 0;
font-size: 100%;
}
#top {
position:fixed;
height: 60px;
margin: 0;
background-color: #ccc;
width:100%;
z-index:100;
}
#content {
position:relative;
z-index:0;
padding-top:70px;
}
h1 {
font-weight:bold;
padding-top: 70px;
}
</style>
身体{
身高:100%;
边界:0;
保证金:0;
填充:0;
字体大小:100%;
}
#顶部{
位置:固定;
高度:60px;
保证金:0;
背景色:#ccc;
宽度:100%;
z指数:100;
}
#内容{
位置:相对位置;
z指数:0;
填充顶部:70px;
}
h1{
字体大小:粗体;
填充顶部:70px;
}
您尚未声明顶部的“固定”位置 尝试:
请澄清你的问题。很难准确说出您想要什么。请查看示例链接。然后单击示例页面上的文本链接。灰色div消失…在Chrome(Win)中适合我
position: fixed;
top: 0px;