Re: <br> was [PHP] Re: render html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux