You’re right. I know this is a solution but this is a template and content will be database. I would like to find another solution so that I don’t have to bother the programmer with counting divs. Any other solutions? If not scripting or redesign will only solve this.
thanx On 07/05/08 12:32, "Abhishek Thakkar" <[EMAIL PROTECTED]> wrote: > If the width of each of the divs is fixed (as in this case), you can > clear:left for every 5th div, forcing it to come to a fresh new line > > > On Wed, May 7, 2008 at 3:41 PM, Ibrahim Y <[EMAIL PROTECTED]> wrote: >> Hi Steven, >> >> try this for each div >> *display:inline;* >> and let we know >> >> Ibrahim >> >> On Wed, May 7, 2008 at 1:04 PM, Steven Soers <[EMAIL PROTECTED]> >> wrote: >> >>> > Hi all, >>> > >>> > I¹m trying to line up an unknown amount of divs next to each other inside >>> > a >>> > containing div. >>> > If Œx¹divs fill up the width of the containing div I would like the next >>> > div >>> > to start a new Œrow¹. >>> > >>> > I¹ve done this by using Œfloat:left¹. >>> > >>> > The problem is that the floating divs have a variable, so unknown, height. >>> > So instead of starting on new row, the float against the heighest div. As >>> > shown in my example >>> > Is there an alternative way to achieve this in css? >>> > >>> > Thanx in advance >>> > >>> > http://studio.stage.vintage.be/multimedia/csstest/test.html >>> > ______________________________________________________________________ >>> > css-discuss [EMAIL PROTECTED] >>> > http://www.css-discuss.org/mailman/listinfo/css-d >>> > List wiki/FAQ -- http://css-discuss.incutio.com/ >>> > List policies -- http://css-discuss.org/policies.html >>> > Supported by evolt.org <http://evolt.org> -- >>> http://www.evolt.org/help_support_evolt/ >>> > >> ______________________________________________________________________ >> css-discuss [EMAIL PROTECTED] >> http://www.css-discuss.org/mailman/listinfo/css-d >> List wiki/FAQ -- http://css-discuss.incutio.com/ >> List policies -- http://css-discuss.org/policies.html >> Supported by evolt.org <http://evolt.org> -- >> http://www.evolt.org/help_support_evolt/ >> >> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
