Excellent, many thanks. Chris
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gunlaug S�rtun Sent: 25 January 2005 14:28 To: [email protected] Subject: Re: [WSG] Image alignment and text Chris Taylor wrote: > 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. The way we usually do it looks more like this: <style> img{ float: left; } </style> <img src="logo.png" alt=""> <p>The Company Name</p> ...where the entire paragraph flows up and align with the top of the image. You can also make your "image in a paragraph" work by using vertical-align. Some more about that here: http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align regards Georg ****************************************************** 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 ******************************************************
