100% height div with xhtml
- From: "Jeremy Chapman" <please@Idontlikespam>
- Date: Wed, 8 Mar 2006 13:40:59 -0800
If my page has a doc type tag of:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
How do I create a div that sizes it's height to 100% of the page?
For example:
<div style="height:100%"></div> will not size to fit the page height, but
if I remove the DOCTYPE tag or set it to something other than XHTML the div
will resize.
.
- Follow-Ups:
- Re: 100% height div with xhtml
- From: Bruce Barker
- Re: 100% height div with xhtml
- From: Trevor Benedict R
- Re: 100% height div with xhtml
- Prev by Date: Re: Where do I put the .cs file for this user control?
- Next by Date: asp.net 2.0 sqlexpress/2000..Profile?????
- Previous by thread: Re: office xp web components
- Next by thread: Re: 100% height div with xhtml
- Index(es):
Relevant Pages
|