Re: Quotes in Heredoc
| From: | Colin Guthrie | Date: | Mon, 28 Feb 2011 17:16:24 +0000 |
| Subject: | Re: Quotes in Heredoc | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311592@lists.php.net to get a copy of this message | ||
'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')
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mageia Contributor [http://www.mageia.org/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]