Konqueror CSS question: implementation of min-height property

Peter Wiersig peter at friesenpeter.de
Wed Aug 2 19:27:26 BST 2006

On Wed, Aug 02, 2006 at 05:00:23PM +0200, Mitch wrote:
> However, while Konqueror supports min-height, it only does so on
> px (and probably em) - but not %!

Have you tried to read the specs about height 100%? It's
complicated and the points you have to keep in mind is that
".section { min-height: 100% }" has the meaning: 100% of the
surrounding element, in your case the body, which is contained in
the <html> element. You'll have to have at least css rules for
those 2 elements beside the div you've already setup.

<head><TITLE>Test page</TITLE></head>
<style type="text/css">html {height: 100%;}</style>
<body style="height: 100%">
<div style="min-height: 100%; border: 1px black solid">
      Test test test<br>
	bla bla bla<br>
	yadda yadda
<div style="min-height: 100%; border: 1px grey solid">
      Test test test<br>
	bla bla bla<br>
	yadda yadda

This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde mailing list