Re: <br> was [PHP] Re: render html
| From: | tedd | Date: | Sun, 21 Sep 2008 13:55:23 +0000 |
| Subject: | Re: <br> was [PHP] Re: render html | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280636@lists.php.net to get a copy of this message | ||
At 2:27 PM +0100 9/21/08, Ashley Sheridan wrote:
You will only get the errors you describe if you've messed up the document type declaration.Ash, I know you don't mean to be insulting, but I didn't "mess up" my DOCTYPE -- give me some credit for knowing a little about this.
I always use this one for my sites: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> and it never gives shorttag warnings or errors.Yes, IF you choose to use your DOCTYPE -- but they are other perfectly valid DOCTYPES for people to use -- see here: http://alistapart.com/stories/doctype My demo is here: http://www.webbytedd.com/bbbb/shorttag/ There is nothing wrong with what I reported. Now, if you disagree, then prove me wrong. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com