형태소 분석 this question오버플로 속성을 어떻게 보상합니까?
이 첫 번째 이미지는 오버플로가 없습니다. 상단은 버튼을 누르기 전의 것으로, 하단은 뒤입니다.
alt text http://img19.imageshack.us/img19/7594/nooverflow.png
그리고이 이미지overflow:auto
으로한다. 상단은 버튼을 누르기 전의 것으로, 하단은 뒤입니다.
alt text http://img134.imageshack.us/img134/4015/overflow.png
은 내가 찾고 그것이 내가 버튼을 누르기 전에 첫 번째 이미지에서 수행하고, 내가이를 누를 할 때 제 2 이미지의 모양과 같이 할 수있는 패널입니다 단추.
<asp:Panel ID="pnlCustomer" runat="server" style="background-color:#ccccff; width:500px; height:90%; position:relative;" BorderColor="DarkBlue" BorderWidth="2px">
...
<style>
div.textboxArea {
text-align:center;
float:left;
width:40%;
margin-top:35px;
}
.textboxArea TextBox {
width:80%;
}
.centerMeVertically div {
position:absolute;
top:50%;
vertical-align:middle;
height:30px;
width:100%;
margin-top:0px;
text-align:center;
}
div.centerMeVertically {
float:left;
width:20%;
text-align:center;
height:60px;
position:relative;
}
p {
margin:-35px 0 0 0;
}
.container {
margin-top:10px;
margin-bottom:10px;
overflow:auto;
}
</style>
<div class="container">
<div style="width:100%;">
<div class="textboxArea">
<p><asp:Label runat="server" ID="lblInfoDesc" /></p>
<asp:TextBox ID="txtInfoDescription" runat="server" TextMode="MultiLine" Rows="3" MaxLength="500" />
</div>
<div class="centerMeVertically">
<div><asp:Button ID="btnNextInfo" runat="server" Text="Next" /></div>
</div>
<div class="textboxArea">
<p><asp:Label runat="server" ID="lblInfoData" /></p>
<asp:TextBox ID="txtInfoData" runat="server" TextMode="MultiLine" Rows="3" MaxLength="500" />
</div>
</div>
</div>
절대 위치 지정이 표시되는 이유는 무엇입니까? 디스플레이 : 아무 것도 가장 확실하게 물건을 숨기고 화면에서 물건을 밀어내는 것보다 선호하는 방법은 없습니다. – Sekhat
사실, 텍스트 상자는 VB (Visual Basic)에서 txtInfoData.Visible = false와 같이 숨겨져 있습니다. 디스플레이를 사용하려면 어떻게해야합니까? 버튼 클릭시 아무 것도 누르지 않고 다른 버튼 클릭으로 전환합니까? – Justen
화면에서 @Sekhat 포지셔닝 것들은 접근성과 SEO 목적을 위해 더 좋아지는 경향이 있습니다. –