Re: [問題] CSS div positioning
div { text-align: center;}
div.window {
position: fixed;
top: 7%;
left: 5%;
right: 5%;
bottom: 5%;}
div.info {}
div#as { height: 50%;}
div.editor {
height: 70%;
overflow: auto;
margin: 10px 0;}
div.buttons {}
<div class="window">
<div id="as">
<div class="info">
info<br />
info<br />
info
</div>
<div class="editor">editor<br />
editor<br />
editor<br />
editor...
</div>
<div class="buttons">
buttons
</div>
</div>
</div>
看起來就是 http://img381.imageshack.us/my.php?image=00sp2.jpg
多用了一層<div>
小聲說,我覺得你描述的文字有點贅 ^^" 會有點讓人眼花
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.7.59
推
05/08 01:15, , 1F
05/08 01:15, 1F
→
05/08 01:33, , 2F
05/08 01:33, 2F
→
05/08 01:41, , 3F
05/08 01:41, 3F
→
05/08 01:51, , 4F
05/08 01:51, 4F
→
05/08 02:35, , 5F
05/08 02:35, 5F
推
05/08 10:44, , 6F
05/08 10:44, 6F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):