[plug] PHP formatting mystery

Sham Chukoury sham at shambhala.ath.cx
Wed Jun 16 04:23:27 WST 2004


On Wed, 2004-06-16 at 03:26, Garry wrote:

> Can anyone tell me why this text will not align for me?

Ah, this is an easy one. :) Note that even though HTML uses english
words, they are *American* english words. That is, 'center' instead of
'centre', 'color' instead of 'colour', etc.

Bad:
> <p align=centre><?php echo $empty_fields_message;?></p>

Good:
<p align="center"><?php echo $empty_fields_message;?></p>

Damn yanks. :)

§:)




More information about the plug mailing list