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
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
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.
Summary: I suggest avoiding the use of ID in CSS, keep it for use in HTML to avoid conflicts. First, it is not fully standards compliant, as it is a pseudo-element which CSS1 cannot interpret. Also consider th...
Summary: OK, so I made a slide out menu in CSS ( I actually took a horizontal one and converted it to vertical ), I did this using both CSS and Javascript, I used CSS thinking it would be faster and used Javas...
Summary: How about <html><head><script language="javascript1.2"> var arr = new Array(); for(var i=0; i < 5; i++) { arr.push(i); } alert(arr.length); arr.pop(); alert(arr.length); </script></h...