Forum Moderators: open
My personal solution is like this:
<table align="center" width="1">
<tr><td><img src="img.gif" height="100" width="100" alt="alt-tekst">
</td></tr>
<tr><td>Here is my beautiful picture. I made it all by my little self and yada yada yada yada yada</td>
</tr></table>
The trick is that when the table has a width of 1, the browser will expand the table (and the following text) to the actual width of the image.
Is there a better solution?
Another problem is that DIV-tags terminate the P-tags, so you can't float the text around the image. I assume all this could be fixed by using FLOAT, but FLOAT gives rather strange results with NS4.
The TABLE-solution has served me well - I just thought tables were cumbersome for browsers and sight-impaired persons.