Height in CSS as percentage?, Can I do it, or am I just attempting the imposible? |
Height in CSS as percentage?, Can I do it, or am I just attempting the imposible? |
May 29 2009, 09:36 PM
Post
#1
|
|
![]() Unsharpened pencils are pointless ![]() ![]() ![]() Group: Member Posts: 47 Joined: Nov 2007 Member No: 588,647 |
All I want is to make the height of a div 70%. Can I? It seems like if I define the height of the body as 100%, it should work, and yet it doesn't.
Help? |
|
|
|
![]() |
May 30 2009, 12:01 AM
Post
#2
|
|
![]() Death is a promise given to us at birth ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 4,757 Joined: Mar 2004 Member No: 7,459 |
i think height is infinite. There is no half-way. You could set a definite height, like 800px, but not percentage.
|
|
|
|
SJalways Height in CSS as percentage? May 29 2009, 09:36 PM
fixtatik 70% relative to the page length? you can define a ... May 30 2009, 04:58 AM![]() ![]() |