天天看点

css 高于不显示,显示一个div高于另一个 - css

A1

样式如下所示;

html, body {

margin: 0;

padding: 0;

border: 0;

}

#A, #B, #foot {

position: absolute;

}

#head{

background: #FF9900;

width: 100%;

height: 35px;

}

#A {

top: 35px;

width: 200px;

bottom: 35px;

background-color: #999999;

}

#A1{

height: 35px;

width: 35px;

margin-left: 200px;

background-color: #CC0066;

}

#B {

top: 35px;

left: 200px;

right: 0;

bottom: 35px;

background-color: #99CC00;

}

#foot{

background: #0066CC;

width: 100%;

height: 35px;

bottom: 0;

}

但我的div A1没有得到显示。一个工作小提琴是here。我想在div B以上显示div A1。我怎样才能解决这个问题??

在此先感谢... :)

blasteralfred

+0

在小提琴上,我可以看到它...... –

2011-04-07 12:11:38

+0

你的工作小提琴确实在工作。我的意思是,检查这个小提琴:我看到A1:http://jsfiddle.net/rGGEK/13/ –

2011-04-07 12:12:01

+0

在你发布的小提琴中显示正常。但是,一旦这里的CSS隐藏在小提琴 –

2011-04-07 12:12:14