Hi,

Is there a CSS equivalent for the age-old image properties
'align="left"' and 'align="right"'. When these are used any text that is
next to the image is automatically lined up with the top of the image.
Using 'float: left' keeps the text level with the bottom of the image.
Example:

Source:
<p><img src="logo.png" alt="">The Company Name</p>

Old-style:
<p><img src="logo.png" alt="" align="left">The Company Name</p>

= correct display

New style:
<style>
img{
   float: left;
}
</style>
<p><img src="logo.png" alt="">The Company Name</p>

= incorrect display

I know it sounds stupid, but I'm a bit stumped. Any help will be
gratefully received.

Thanks

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
******************************************************

Reply via email to