Hi all!
On Sun, 6 May 2001, Robin wrote:
I'm going to start a conversion over into using XHTML & add the DTD tags myself.
Great :)
Our offical DTD header block is now
<?xml version="1.0" encoding="UTF-8"?>
Ouch, UTF-8 ? Many browsers won't like this charset. Actually I'm afraid only the major ones (IE and Moz. -then maybe NN6-) knows this charset. Moreover I've faced some problems with this instruction inside php files: the php parser try... to parse <?xml.... How do you avoid this?
The idea I had, there exists a common CSS file, that does NOT comply for the NN4 parent bug. The PHP file reads it in, and spits out a new one that is complete, rather like the CSS validator by W3. As a result, we only have to maintain the common one and one per language, and the PHP file spits out a combined one, that could even be customized per browser.
OK.
Text direction and font face are a function of the character set.
Have you tried this with Moz or NN? As far as I remenber it won't work with NN4 at least. Not a big problem nevertheless: NN4 does not support any directive (even HTML/XHTML) for text direction :(
Regards,
______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif
On Mon, 7 May 2001, [iso-8859-1] Lo�c wrote:
On Sun, 6 May 2001, Robin wrote:
Our offical DTD header block is now
<?xml version="1.0" encoding="UTF-8"?>
Ouch, UTF-8 ? Many browsers won't like this charset. Actually I'm afraid only the major ones (IE and Moz. -then maybe NN6-) knows this charset.
The majority of browsers will ignore the XML tag :-) Thusly, the problem doesn't exist.
Moreover I've faced some problems with this instruction inside php files: the php parser try... to parse <?xml.... How do you avoid this?
Turn off the parsing of short PHP tags in the ini file. I had to do this long ago because I do the odd bit of XML with PHP already. I think there is a way you can do it in the .htaccess file as well (or something).
The idea I had, there exists a common CSS file, that does NOT comply for the NN4 parent bug. The PHP file reads it in, and spits out a new one that is complete, rather like the CSS validator by W3. As a result, we only have to maintain the common one and one per language, and the PHP file spits out a combined one, that could even be customized per browser.
OK.
Text direction and font face are a function of the character set.
Have you tried this with Moz or NN? As far as I remenber it won't work with NN4 at least. Not a big problem nevertheless: NN4 does not support any directive (even HTML/XHTML) for text direction :(
Actually, I have seen other text directions in NN4 before, notably arabic on my friends computer. (Well he runs arabic windows as well) I'll get him to try it on Moz to see if that works.