Wed, 2004-01-07 16:18
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:
<html> <head> <style> div {float:left; border:1px solid; text-align: center; } </style> </head> <body> <div>1</div> <div>2</div> <div>3</div> <div>4</div> .... <div>n</div> </body> </html>
Thanks for your atention.
Wed, 2004-01-07 20:31
#1
-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.
Regards
Day