Re: [php-gtk-webmaster] Standards compliance, anyway...
| From: | Christian Weiske | Date: | Thu, 13 Apr 2006 17:47:46 +0000 |
| Subject: | Re: [php-gtk-webmaster] Standards compliance, anyway... | ||
| References: | 1 | Groups: | php.gtk.webmaster |
| Request: | Send a blank email to php-gtk-webmaster+get-3018@lists.php.net to get a copy of this message | ||
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