Re: [php-gtk-webmaster] Standards compliance, anyway...
| From: | Steph Fox | Date: | Thu, 13 Apr 2006 17:55:09 +0000 |
| Subject: | Re: [php-gtk-webmaster] Standards compliance, anyway... | ||
| References: | 1 2 | Groups: | php.gtk.webmaster |
| Request: | Send a blank email to php-gtk-webmaster+get-3019@lists.php.net to get a copy of this message | ||
Hi Chris,
Yep, no worries, I'll put the HTML stuff back in - I noticed all the work you'd put into that a bit too late. (I should mention btw it looked rough under MSIE too, hence the urge to act quickly.)
I did in fact write and say 4.01 doctype a la php.net in the first place, but I guess you missed the first mails on the subject. Actually PEAR and PECL sites use XHTML, but then they're smaller sites with no generated HTML to consider.
- Steph
----- Original Message ----- From: "Christian Weiske" <cweiske@cweiske.de>
To: "PHP-GTK web" <gtk-webmaster@php.net>
Sent: Thursday, April 13, 2006 7:47 PM
Subject: Re: [php-gtk-webmaster] Standards compliance, anyway...
Steph, Scott, Andrei, Sorry for the inconvience my changes brought. My original intention was to make the pages valid HTML, and I spent some good time fixing the html. I noted the font size problems, mainly in Opera. They are caused by the XHTML doctype, and I had no idea how to circumvent then except setting the font size higher - at least it looked ok then in Opera and FF. Looking at the php.net page, I saw they are using html4 as doctype instead of xhtml1.0. And voila - page is as before. So adding <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> in layout.php instead of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> does the job, and the page looks as before, just with clean html. -- Regards/MfG, Christian Weiske -- PHP-GTK Webmaster Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com