468,107 Members | 1,333 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

problem with a 100% height float div

Hi all!

I am having trouble with a float:left div, trying to making his height
100%. You can see it in http://www.josegallardo.net/googlegr...staforosFF.htm

I want that <div class="foro_linea_celda3">438</divoccupy all his
possible height. I have tried height:100%, but I think it doesn't work
due to its a float div :S
Any suggestions? Thank you!!
Jose.

Jul 18 '07 #1
2 7991
["Followup-To:" header set to comp.infosystems.www.authoring.html.]
On 2007-07-18, Gallarpri <ga*******@gmail.comwrote:
Hi all!

I am having trouble with a float:left div, trying to making his height
100%. You can see it in http://www.josegallardo.net/googlegr...staforosFF.htm

I want that <div class="foro_linea_celda3">438</divoccupy all his
possible height. I have tried height:100%, but I think it doesn't work
due to its a float div :S
It's not float that's the problem. It doesn't work because the container
has auto height. Percentage heights only work if the container has a
fixed height (like 2em or 60px for example, or a percentage height that
can itself be resolved).
Any suggestions? Thank you!!
Use a table. It's the only sensible way to make foro_linea_celda3 the
same height as foro_linea_celda2 where the height of foro_linea_celda2
depends on its contents.
Jul 18 '07 #2
Gallarpri wrote:
Hi all!

I am having trouble with a float:left div, trying to making his height
100%. You can see it in http://www.josegallardo.net/googlegr...staforosFF.htm

I want that <div class="foro_linea_celda3">438</divoccupy all his
possible height. I have tried height:100%, but I think it doesn't work
due to its a float div :S
Any suggestions? Thank you!!
Yes use a table. It is tabular data.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jul 18 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by B McDonald | last post: by
3 posts views Thread by Günther Stößl | last post: by
10 posts views Thread by NoSpan | last post: by
1 post views Thread by books1999 | last post: by
2 posts views Thread by george.leithead | last post: by
4 posts views Thread by georgino | last post: by
1 post views Thread by newcomer2k | last post: by
1 post views Thread by donpro | last post: by
1 post views Thread by innivive | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.