Speaking of "centre".  W3C ought to implement British English as well. :(

But yeah, the align attribute should be avoided at all cost.  If you
really want to align something in the centre, use;

margin: 0 auto;

/Svip

2008/5/3 Essential eBiz Solutions Ltd <[EMAIL PROTECTED]>:
> There is the old faithful
>
>  <p align"centre">Image</p>
>  Which as far as I'm aware is valid in XHTML strict, or the method Stuart
>  mentioned with the pre-set div tag.
>
>
>
>
>  -----Original Message-----
>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>  Behalf Of Stuart Foulstone
>  Sent: 03 May 2008 10:37
>  To: [email protected]
>  Subject: Re: R: [WSG] Alternative to align = center?
>
>  Or use a CSS class to do the same,
>
>  <div class="centre" >
>
>  and
>
>  .centre {
>       text-align: center;
>  }
>
>  On Sat, May 3, 2008 10:22 am, Diego La Monica wrote:
>  > What about <div style="text-align: center"> ?
>  >
>  >
>  >
>  >
>  >
>  > Diego La Monica
>  >
>  > Web 2.0 - Standards - Accessibilità
>  >
>  > mobile: +39 3337235382 - skype: diego.la.monica
>  >
>  > web: http://diegolamonica.info - http://jastegg.it
>  >
>  >
>  >
>  >   _____
>  >
>  > Da: Simon [mailto:[EMAIL PROTECTED]
>  > Inviato: sabato 3 maggio 2008 11.15
>  > A: [email protected]
>  > Oggetto: [WSG] Alternative to align = center?
>  >
>  >
>  >
>  > Hi,
>  >
>  >
>  >
>  > I know that the align attribute such as <div align="center"> is not
>  > allowed
>  > in XHTML Strict, but it got me thinking on what the possible alternatives
>  > are for a dynamic environment such as a forum?
>  >
>  >
>  >
>  > For instance if I know the image width or the total width of all the
>  > images
>  > will be the same I usually put them in a wrapper with a fixed width and
>  > use
>  > margin: 5px auto as an example.
>  >
>  >
>  >
>  > What happens if you will never know the width of the images or how many
>  > images someone may post, as happens on a forum I run. I've resorted to
>  > creating a bbcode tag that uses <div align="center"> as that is the only
>  > way
>  > I can think of.
>  >
>  >
>  >
>  > Are these scenarios always doomed to use transitional doctypes and
>  > deprecated code?
>  >
>  >
>  >
>  > I'd be interested in your opinions
>  >
>  >
>  >
>  > Cheers
>  >
>  > Simon
>  >
>  >
>  > *******************************************************************
>  > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>  > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>  > Help: [EMAIL PROTECTED]
>  > *******************************************************************
>  >
>  >
>  > *******************************************************************
>  > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>  > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>  > Help: [EMAIL PROTECTED]
>  > *******************************************************************
>  >
>
>
>
>
>  *******************************************************************
>  List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>  Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>  Help: [EMAIL PROTECTED]
>  *******************************************************************
>
>
>
>  --
>  No virus found in this incoming message.
>  Checked by AVG.
>  Version: 7.5.524 / Virus Database: 269.23.7/1410 - Release Date: 01/05/2008
>  17:30
>
>
>
>
>
>
>  *******************************************************************
>  List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>  Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>  Help: [EMAIL PROTECTED]
>  *******************************************************************
>
>

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to