469,903 Members | 1,945 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

Displaying repeating "boxes"

I want to display a repeating set of formatted infomation that appears
within a "box" so that the individual boxes appear to the right of the
previous one until the line is filled and then the next one goes onto
the following line. Just like "text flow".

Each "box" will contain an image and some "formatted" text, possibly
held in a small table or something similar (depends what I get to
work). Picture something like a business card.

The "box" - I've tried "<div/>", but these are blocks and so appear
beneath the preceding <div/rather than on the right. I've also tried
the "<span/>" because these are in-line elements, but the schema won't
allow me to put tables etc as daughter elements.

Any suggestions? If there are several methods, I guess repeating
<div/>s with CSS would be my preferred solution.

Thanks in advance

Griff

Oct 19 '06 #1
2 1458
{float:left} of course does the trick.

Oct 19 '06 #2
In article
<11*********************@m73g2000cwd.googlegroups. com>,
"Griff" <gr************@hotmail.comwrote:
I want to display a repeating set of formatted infomation that appears
within a "box" so that the individual boxes appear to the right of the
previous one until the line is filled and then the next one goes onto
the following line. Just like "text flow".

Each "box" will contain an image and some "formatted" text, possibly
held in a small table or something similar (depends what I get to
work). Picture something like a business card.
Take a look at
http://members.optushome.com.au/droo...late/galleryBo
rderedDivd.html Might give you the general idea.

--
dorayme
Oct 19 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Gérard Talbot | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.