From: Colin Guthrie

>'Twas brillig, and Bob McConnell at 28/02/11 13:23 did gyre and gimble:
>> XHTML also requires all tags, attribute labels and values to be in
lower
>> case and values must be quoted. So your original content should be
>> 
>>  <table cellpadding="0" cellspacing="0" border="0" align="center"
>>  width="621">
>>  <tr>
>>  <td rowspan="2"><img width="15" height="1"
>>  src="../images/spacer.gif"></td>
>> 
> 
> Actually, in xhtml the <img> tag would need a corresponding </img>
tag,
> or it can be self closing:
> 
> e.g. <img width="15" height="1" src="../images/spacer.gif" />
> 
> (technically the space before the /> bit above is not needed, but used
> to be needed to stop older versions of IE from exploding... these
> probably are not worth worrying about these days tho')

Ooops, forgot that one. XHTML is XML compliant, so all tags must be
closed properly. Also, you can't use the PHP short open tag, because it
collides with a specific XML tag.

Bob McConnell

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to