1 reply [Last post]
Josep Maria Aribau
Last seen: 17 years 11 weeks ago
Timezone: GMT+1
Joined: 2003-12-09
Posts: 2
Points: 0

How to simulate a table row that ocuped 100% of window, and cells are distributed proportionaly around 100% of the line.
Note: Is very important to do this for N divs. In the case of the example code it's easy to solve it, only put width:25%, but I need for N divs.

I have this for 4 divs (for example) but i need for N divs:

And I would like this for N divs:

This is the code that I use:

	div {float:left; border:1px solid; text-align: center; }



Thanks for your atention. Laughing out loud

Sydney, Australia
Last seen: 17 years 15 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

-Easy- Simulate table row - :?:

It seems to me that this is some type of tabulated data. I would use tables, they are perfectly suited for that job.


The only way to learn is to do it yourself