[thelist] Mozilla doesn't like XHTML

Chris Johnston chris at completeimaging.com
Mon Jun 4 13:56:51 CDT 2001


I am not sure about the doctype but the '&' signs need to spelt out in order
for XHTML to work properly. Try using foo.php?a=1&b=2 instead and it
should take the whole line.

I am currently creating an application in XHMTL and have found no problems
at all with Mozilla.

/chris

> -----Original Message-----
> Hi all,
>
> Here's a weird thing about Mozilla : it doesn't like XHTML.
> I've made a well formed HTML page, in XHTML. But Mozilla won't display it
> correctly unless I change the HTML header from
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
>
> to
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
>
> It also has a problem with links like "link.php?one=stuff&two=thing" : it
> will simply not see the "&two=thing" part of the link.
> So when you click on it, you get "link.php?one=stuff" only.
>
> Everything is right when I change the header. How weird is that ? Should I
> make a bug report ?
>
> Guillaume Cocatre-Zilgien
> Web Developer
>
> skamp at befrance.com
> UIN #77738266





More information about the thelist mailing list