English 中文(简体)
尽管使用了背景估算和Z-Index,但旁边协的负责人仍然重叠。
原标题:Sidebar overlapping header despite using background-images and Z-Index

希望者对此可以轻易回答。 我的头部形象仅为75px高梯度,在底线上有缺陷。 我把这一形象定在我的头脑上,我想在我的一页的左边bar上。 头盔形象具有透明度,当我有旁遮挡时,我不能坐在头顶上。 您可在这一屏幕上看到:

“sidebar”/

绿色旁边疆胜于头盔的“it”。 我的头脑z-指数为99,旁边为1。 我试图扭转这一局面,以确保我把我的人数混在一起,但那是徒劳的。 两者都是绝对的。 我随心随心随心,希望有人能够轻易回答。 • 确保我一米没有基本的东西:

div.header {
 z-index: 99;
 background: transparent;
 background-image: url(images/header_bg.png);
 position: absolute;
 height: 85px;
 width: 100%;
 font-family: Helvetica, Verdana, Arial, sans-serif;
}

div#leftsidebar {
 height: 400px;
 border-right-style: dashed;
 border-right-width: 1px;
 z-index: -1;
 margin-top: 75px;
 width: 200px;
 position: absolute;
 background-color: #66ff66;
}

感谢。

最佳回答

奥凯,答案是,而且你不会知道这一点,我的旁边.在头脑中,而且显然会坐在母子的后面。 具有意义。 我不想这样做,但我认为,在我撰写“超文本”时,我推倒了头盔,并认识到我是在其中写我的副厅。 Stupid错误。

问题回答

拆除“背井:透明;”从您的 d头挑选人中归属。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

Drop down background url in Safari Issue

selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

CSS problem with page footer

I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...

热门标签