Previous Message
Next Message

Use of height in viewport bij 1 of 4 divs

Sent by Bas on 21 November 2005 12:12


--===============0463023590==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e"
Content-Disposition: inline


--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

I would like to know what the best way is to make 1 of 4 divs use 100% of the remaining viewport
space left.

Let me try to explain the problem; I have 4 major divs in my site:
- header
- filler (to be used for quotes or navigation)
- content
- footer

I would like the content div to use all of the remaining space (heightwise), as the others have more
or less fixed heights. I have used a precentage of 90% for the content div, and 100% for the html
and body attributes, but this leaves variable space below the footer.

An example can be found at www.5gt.nl, but I have this problem on multiple sites.

Regards

Bas

--
GPG key for [EMAIL-REMOVED]: 9346DC34
Fingerprint: 46C9 103A 9771 5A4B A727 6D45 322F 168F 9346 DC34


--cNdxnHkX5QqsyA0e
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDgbv8Mi8Wj5NG3DQRAhv9AJ9LmTW/b/iTxzkmS//ZEZ0INK1QLgCfS4d4
9V5dyg9h/ioDBC9ZJVsy/1w=
=FMr1
-----END PGP SIGNATURE-----

--cNdxnHkX5QqsyA0e--

--===============0463023590==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
--===============0463023590==--
Previous Message
Next Message