HTML/CSS/CSS Attributes and Javascript Style Properties/min height — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 12:20, 26 мая 2010
min-height: 200px
<source lang="html4strict">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html> <head> <title></title> <style type="text/css"> p { padding: 10px; margin: 10px; border: 1px solid black; background: red; position: absolute; top: 0; right: 0; bottom: 0; left: 0; min-height: 200px; } </style> </head> <body>
this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test.
</body> </html> </source>
"min-height" Example
<source lang="html4strict">
<html> <body>
Cell |
</body> </html>
</source>