>Tables should always be used for tabular data only - not for
>presentation or layout purposes.
This mantra gets repeated a lot, and while the intention is good,
the problems with it are well known, so I won't restart the argument
again here.
>Let's say the image is 200 pixels wide:
>
[quoted text clipped - 4 lines]
>
>That should be all you need.
No, that's not columnar presentation. The text will wrap under the
image. Try doing it in CSS in such a way that always preserves the
side-by-side relationship. It's not as straightforward as a table,
and you end up with just about as many markup elements. In this
case, there's not much semantic difference between <div> and <td>.
-A
matthom@gmail.com - 29 Sep 2006 14:36 GMT
> No, that's not columnar presentation.
The OP was just looking for a way to have text appear to the right of
an image. The CSS and HTML I mentioned will work - have you tried it?
> The text will wrap under the image.
No, it won't. The "float: left" will make the image float left, while
everything in the markup AFTER the image will float to the right of the
image. The margin-left is necessary, however.
> It's not as straightforward as a table,
> and you end up with just about as many markup elements.
> ><img style="float:left" />
> ><div style="margin-left: 220px;">
> ></div>
How could the above be MORE markup than a table? We have the <img> and
the <div> - that's it.
A table is not meant for layout - use CSS - it allows for much more
control, and it makes future changes much easier for the developer.
> >Tables should always be used for tabular data only - not for
> >presentation or layout purposes.
[quoted text clipped - 19 lines]
>
> -A
Bergamot - 29 Sep 2006 16:51 GMT
> A table is not meant for layout - use CSS - it allows for much more
> control
'Control' is a poor choice of words since the author doesn't actually
have any. 'Flexibility' may be better.

Signature
Berg