Computing.Net > Forums > Web Development > height of elements in css

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

height of elements in css

Reply to Message Icon

Name: chalks
Date: October 4, 2005 at 07:57:40 Pacific
OS: windows xp
CPU/Ram: 2.7ghz
Comment:

help! Is there a way to make it so that any element you create with css is 100% of the height of the page? (instead of xyz px, or just the size of the stuff inside the element)

Thanks
-chalks

Leadership is the art of influencing and directing others in a way that will gain their respect, confidence, and loyal cooperation in achieving a common goal or objective



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: October 4, 2005 at 08:16:42 Pacific
Reply:

Absolutely,

height:100%;

It might not work with every type of element, buti t should work for box-type elements and images, among others.

Michael J


0

Response Number 2
Name: chalks
Date: October 4, 2005 at 11:20:45 Pacific
Reply:

I tried that several times...but it doesn't show up right in ie6.

Is there any other way to make that happen?

Leadership is the art of influencing and directing others in a way that will gain their respect, confidence, and loyal cooperation in achieving a common goal or objective


0

Response Number 3
Name: Michael J (by mjdamato)
Date: October 4, 2005 at 18:51:40 Pacific
Reply:

It works fine for me in IE6. What, exactly, are you trying to specify with a height of 100%. There might be an error in your code as well.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


CSS Global Menu IE Web Developer toolbar



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: height of elements in css

Simple CSS help? www.computing.net/answers/webdevel/simple-css-help/228.html

drop down menu in css www.computing.net/answers/webdevel/drop-down-menu-in-css/2485.html

number of entries in array www.computing.net/answers/webdevel/number-of-entries-in-array/3764.html