Re: [php-gtk-webmaster] Standards compliance, anyway...

[email protected] (Christian Weiske)
Newsgroups php.gtk.webmaster
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.