divs in the same row, but filling the row
- From: Francesco Moi <francescomoi@xxxxxxx>
- Date: 15 May 2007 11:33:45 -0700
Hi.
I want to place 5 divs within the same row:
div-div-div-div-div
My HTML:
-------------
<div class="content">
<div class="fooclass"><img src="image.jpg"></div>
<div class="fooclass"><img src="image.jpg"></div>
<div class="fooclass"><img src="image.jpg"></div>
<div class="fooclass"><img src="image.jpg"></div>
<div class="fooclass"><img src="image.jpg"></div>
<div class="fooclass"><img src="image.jpg"></div>
</div>
--------------
My CSS:
--------
div.fooclass
{
float:left;
background-color:red;
}
--------
However, the divs are really floating, and I went them to fill their
row, because I have to insert <br/> to fill this row.
Does anybody have a solution? Thank you very much.
.
- Follow-Ups:
- Re: divs in the same row, but filling the row
- From: John Hosking
- Re: divs in the same row, but filling the row
- Prev by Date: divs in the same row, but filling the row
- Next by Date: Re: divs in the same row, but filling the row
- Previous by thread: divs in the same row, but filling the row
- Next by thread: Re: divs in the same row, but filling the row
- Index(es):
Relevant Pages
|