473,394 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 8172
["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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: B McDonald | last post by:
Hi. I am trying to straighten out some DIV issues in the rendering of my no-tables CSS website. Right now the biggest issue is trying to render 2 columns several DIVs deep in the box model for my...
3
by: Günther Stößl | last post by:
Hello I am trying to position two floats inside a table column. <td> <div style="position:relative; width:100%"> <div style="position:absolute; left:0px; width:60%>... </div> <div...
10
by: NoSpan | last post by:
I have this page that has layout like the following: (no frameset) ---------------------------------------- | header | |--------------------------------------| | ...
1
by: books1999 | last post by:
Hi there, I have a problem with this css/div and i cannot work it out. I would like either container to be able to push the background box to grow but in Firefox it overflows. Can someone find a...
2
by: george.leithead | last post by:
Hi all, I have a very strange problem! In following Web page (which is generated from a CMS System), the navigation to the left 'dissapears' when you roll the mouse over the links? It does not...
4
by: georgino | last post by:
I decided to go with CSS and drop my <tableskills however I have some issues with it. The new page I design atm is at: http://www.labo.sk/web-designs/. Anyone able to help on this one? I am really...
1
by: newcomer2k | last post by:
Hi experts, I used 2 divs (side-bar and main-copy) and tried to line them side by side. For the most part this works fine. Both divs appear at the same y- value on the screen. However, as I...
1
by: donpro | last post by:
Hi, I'm creating a template paging sing pure CSS and all looks good except the footer which I am having problems with. 1) When I space out each of the FOUR DIVS at 25%, it wraps in IE. I...
1
by: innivive | last post by:
I am having a problem with having margins display correctly in IE7, Firefox and Safari. I am not sure if it is the "double margin error" or something else. Any help would be appreciated. The file...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.