- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有两个带有背景图片的 div。第一个我有下拉菜单,第二个只是背景图片。我面临的问题是下拉菜单和第二个背景图片,下拉菜单出现在背景图片中我不知道如何解决它..
这是我为两个 div 使用的 CSS..
//first Div
.header-wrapper {
background: url("../images/header_bg.png") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
float: left;
height: 77px;
margin: 0 auto;
position: fixed;
width: 100%;
z-index: 60001; }
//second div
.headerbody-wrapper {
background: url("../images/bill.jpg");
float: left;
margin-top: 77px;
height: 242px;
position: fixed;
width: 100%;
z-index: 60001; }
这是 HTML..
<div class="header-wrapper">
</div>
<div class="headerbody-wrapper">
<p>hello</p>
</div>
我的关于我们下拉菜单正在进入第二个 div 图像,我想将其删除..
最佳答案
最后我得到了解决方案..就是将 position: fixed;
更改为 position: inherit;
它的工作...!!
关于html - 下拉菜单正在下降的不利形象,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23843286/
我整个早上都在为这件小事苦苦挣扎。我尝试使用 Bootstrap 3 将 .navbar-brand 置于整个导航栏的中间。 有人能解开我的谜团吗? 代码:
这个问题在这里已经有了答案: 9年前关闭。 Possible Duplicate: Reshape data from long to wide format R 和: day <- c(1, 1,
如何构建Dockerfile here? 我git clone并运行docker build .。然后我得到以下错误: Sending build context to Docker daemon
我使用 Logic 示例作为引用,将端口作为子级添加到矩形 Figure/EditPart/Model 中。端口 Figures 显示如预期,调试显示 EditParts 和 Models 已创建并添
我在下面给出了显示 9 个框 的代码,这些框的值类似于 digital time, 还有另一个类 box002 显示 digitscurrosponding to the randomly selec
我是一名优秀的程序员,十分优秀!