스크롤 막대가없는 페이지 (높이 : 100 %)를 표시하려고합니다. 이 인수를 html 및 본문에 추가 할 제안을 읽었습니다. 하지만 예상대로 작동하지 않습니다. 실제로 FF에서는 스크롤바가 보이지 않습니다. 그러나 IE7과 8 (표준 모드)에는 스크롤바가 있습니다. 쿼크 모드에서는 예상대로 작동합니다. 당신이 복잡 영토로 얻을 수있는 요구하는지높이 : FF7이 아닌 IE7에서 100 % 문제가 발생했습니다
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0053)http://apptools.com/examples/tables/standardscss.html -->
<html><head><title>standards compliance mode with css rendering</title>
<meta content="text/html; charset=iso-8859-1" http-equiv=content-type>
<meta content=no http-equiv=imagetoolbar>
<meta name=mssmarttagspreventparsing content=true>
<style type=text/css>body {
padding-bottom: 0px; background-color: #fff; margin: 0px; padding-left: 0px; padding-right: 0px; color: #000; padding-top: 0px
}
table {
border-bottom: #008 1px solid; border-left: #008 1px solid; border-top: #008 1px solid; border-right: #008 1px solid
}
html {
height: 100%
}
body {
height: 100%
}
.fullheight {
height:100%
}
</style>
<meta name=generator content="mshtml 8.00.6001.18876"></head>
<body>
<table width=450 bgcolor=#ccccff align=center height="100%">
<tbody>
<tr>
<td colspan="2" height="200px">
<p>paragraph</p>
</td></tr>
<tr class="fullheight"><td >
<p>paragraph</p>
</td>
<td>
<p>paragraph</p>
</td>
</tr>
</tbody></table></body></html>
필자는 요소가 _parent_ 컨테이너에서 차지해야하는 높이 비율을 알고 있습니다. 그래서 내 생각은 테이블이 100 % 높이 (몸체)이고, 행의 첫 번째 높이가 200px (테이블의)이고 두 번째 테이블의 나머지 높이 (테이블의 높이)가됩니다. "방정식"이 올바르지 않다면, 기대했던대로 두 번째 행을 얻으려면 어떻게해야합니까? –
대략적인 시각적 평가에서 스크롤 막대가 나타나면 페이지 하단 (예 : 스크롤 영역)에 나타나는 "공간"이 200 픽셀이라고 말할 수 있습니까? – Tom
예, 정확히 (정확히는 아닐 경우) 약 200 픽셀입니다. –