为什么左右两边的细胞充满了空白?
空白区域位于左右桌面单元格上方.
http://jsfiddle.net/Tim86/NU9sA/
它与之有关#middlebuttons{display:block;}.
编辑:我使用的是Firefox 5.
编辑2:图片
错误

对

你如何把孩子放在一个z指数较高的父母兄弟面前?
我想把粉红色的盒子放在果岭前面.
http://jsfiddle.net/Tim86/YRTxt/

<style>
#wrapper{
position:relative;
width:400px;
}
#red, #green{
height:200px;
width:400px;
}
#red{
background-color:red;
position:relative;
z-index:10;
}
#pink{
background-color:pink;
height:250px;
width:150px;
top:50px;
right:20px;
position:absolute;
z-index:40;
}
#green{
opacity:0.8;
background-color:green;
position:relative;
z-index:20;
top:-50px;
}
</style>
<div id="wrapper">
<div id="red">
<div id="pink">
</div>
</div>
<div id="green">
</div>
</div>
?
Run Code Online (Sandbox Code Playgroud) 这是一个错误还是我解释'??' - 运算符错了?查看下面的获取属性和评论.
我正在使用C#.NET 3.5
private List<MyType> _myTypeList;
private List<MyType> MyTypeList
{
get
{
//The two code lines below should each behave as the three under, but they don't?
//The ones uncommented are working, the commented result in my list always returning empty (newly created I suppose).
//return _myTypeList ?? new List<MyType>();
//return _myTypeList == null ? new List<MyType>() : _myTypeList;
if (_myTypeList == null)
_myTypeList = new List<MyType>();
return _myTypeList;
}
}
Run Code Online (Sandbox Code Playgroud)
编辑:对于那些在新问题时看过这个问题的人,很抱歉,那里的一些错误让每个人都感到困惑.
感谢所有伟大而快速的反馈!我现在明白了我犯的错误.谢谢!