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

[email protected] ("Steph Fox")
Newsgroups php.gtk.webmaster
Message-ID <057b01c65f23$69158570$6602a8c0@foxbox>
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" <[email protected]>
To: "PHP-GTK web" <[email protected]>
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
>
>
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.