SitePoint
Reference
CSS
Box Properties
Dimensions
height
CSS Live Demo: height
(this page)
See also:
All Live Demos
CSS Live Demo: height
Type your
CSS
here:
(any properties allowed except expression, behavior and @import)
#example p { height:100px; } p { font-size:40px; border:1px solid #696; background:#dfd; color:#030; }
Type your
HTML
here:
(any tags allowed except script, iframe, frame, object, img and embed)
<div id="example"> <p>She packed my bags last night pre-flight. Zero hour — nine a.m; and I'm gonna be high as a kite by then.</p> </div>
Show me!
Your results appear here: