English 中文(简体)
2. 单体工作
原标题:Drop down menu with iframe dont work

我正在提出一个问题,把这一z-指数放在另一个小部分的前列。 当它滑坡倒塌时,怎么能够做到。 如果你想看到一个例子,就可以在聊天时显示你。 基本上,倒塌的箱子正在另一小块下,但想要 h倒。

<style type= text/css >
#content {
    margin: auto 0;
    margin-left: 10px;
    width: 240px;
    border-left: 10px solid #6280c1;
    border-right: 10px solid #6280c1;
    text-align: center;
    padding: 100px 0px 100px 0px;
    display: none;
}
#bottom {
    width: 280px;
    height: 81px;
}
</style>
<script type= text/javascript >//<![CDATA[ 
$(window).load(function(){
$( #bottom ).toggle(

function() {
    $( #content ).slideDown();
}, function() {
    $( #content ).slideUp();
});
});//]]>  

</script>

<div id="content">CONTENT</div>
<div id="bottom"><img src="../images/drop_fb.png" width="280" height="81"></div>
最佳回答

添加<条码>:绝对值;至#bottom div,使之保持在第2部分的顶端。

#bottom {
    position:absolute;
    top:0;
    left:0;
}
问题回答

您必须加上<代码> :asolute <>/code>,以Z-index表示,否则不会奏效。





相关问题
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....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

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 ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签