Hi Chris, et al

I used to think it was not semantic to place an image inside paragraph. But
I've noticed many leading designers doing such and I believe I read
somewhere that it is actually appropriate and semantic to place an image
inside a paragraph tag.

Can anyone clarify this for me?

Ted


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris W. Parker
Sent: Friday, April 01, 2005 1:15 PM
To: [email protected]
Subject: RE: [WSG] Two images on the one line

Drake, Ted C. <mailto:[EMAIL PROTECTED]>
    on Friday, April 01, 2005 12:57 PM said:

> Here's a simple cure.
> 
> <p class="floatedimage">
> <img src.../>
> Caption</p>
> Float the paragraph with margins, set a width to keep the text
> underneath the image.

Let's go for some better semantics:

div.floated_image {
    float: left;
    }

<div class="floated_image">
 <img src="your_image.gif" alt="" />
 <p>here is some text</p>
</div>



Chris.
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to