我想在底部居中的黑色矩形中顯示文本「跳過 - 我不能確定」Aprear。我很難與Css一起完成這項工作。你能指出如何解決我的CSS?Css Div與div對齊
defaultpage
<div id="pictures">
<div id="MainPics">
<div id="RightPic">
<p>
<asp:Label ID="FirstPicMemberNameLabel" runat="server" Text="" Font-Bold="True" ForeColor="White"></asp:Label>
</p>
<asp:ImageButton ID="FirstPicLink" Width="90%" runat="server" />
</div>
<div id="LeftPic">
<p>
<asp:Label ID="SecondPicMemberNameLabel" runat="server" Text="" ForeColor="White"
Font-Bold="True"></asp:Label>
</p>
<asp:ImageButton ID="SecondPicLink" Width="90%" runat="server" />
</div>
</div>
<div id="skip">
<a href="default.aspx">SKIP - I Cant Choose.</a></div>
</div>
的CSS
div#pictures
{
}
div#MainPics
{
height: 650px;
width: 60%;
-moz-border-radius: 35px;
border-radius: 35px;
background-color: Black;
margin-left: auto;
margin-right: auto;
}
#RightPic
{
position: relative;
float: left;
width: 45%;
text-align: center;
}
#LeftPic
{
position: relative;
float: left;
width: 45%;
text-align: center;
}
div#skip
{
position: relative;
width: 50%;
margin-left: auto;
margin-right: auto;
text-align: center;
}
不要給ASP 。轉到瀏覽器中的頁面並轉到查看源代碼(通常是右鍵菜單),然後更新您的帖子。 (我不能在[fiddle](http://jsfiddle.net/CLh6L/)中使用ASP)。 – FakeRainBrigand 2011-12-20 15:06:50
給HTML和CSS,而不是ASP。這樣用戶將能夠更快地幫助你。 – techfoobar 2011-12-20 15:10:51