[thelist] image in <p> (was "random image...")

Erika Meyer erika at seastorm.com
Mon Jul 3 08:31:59 CDT 2000


>- you are mixing HTML and XHTML...

you're right.  mea culpa. <br /><br />

>- instead of the oft-overused <div>, i suspect a <p class="foo"> 
>would work just as well here...

you may be right, but I had some bad experiences with NN4 and images 
in the <p> tag back in '99.  actually, I had bad experiences with NN4 
and images in a <div> as well: http://haughey.com/csshorrors/ (image 
float problem)

but lately it's worked for me.  (*knocks on wood*) (maybe NN4.7 is better now?)

But I fear images in the <p>.  I really do.  Is it an unreasonable 
fear?  I don't know.  But it is a fear based on experience.

Why is it bad to use <div></div>?

<tip type="css">
links to CSS resources:
http://www.webstandards.org/css.html
</tip>

>  <div class="image">
>  <img src="images/image1.gif" alt="image1"
>  width="100" height="100" />
>  <br><br>
>  a caption which relates to the image
>  </div>

erika at seastorm.com
http://www.seastorm.com




More information about the thelist mailing list