RE: [PHP] poor HTML syntax crashing (!) netscape

From: Date: Wed, 04 Jul 2001 00:25:13 +0000
Subject: RE: [PHP] poor HTML syntax crashing (!) netscape
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56089@lists.php.net to get a copy of this message
> I have an interesting situation at the moment... my (slightly sloppy) HTML > is obviously missing a closing tag here or there but displays fine in opera, > ie etc however when I try and view it netscape (4.x, windows, linux, any > platform) netscape just nice and cleanly crashes!! you mean like crashing as in really closing down the program? I knew Netscape is not very stable but i thought it only happened in windoze because MS had built in something anti-competitionishy on purpose to crash Netscape. One of the problems of NS is that if you do not close a table with a </table> tag, it just does not show that table. I think they even think they protect 'the standards' by doing this. IE is more flexible with such errors. So it may help to show your page to some html validator (Homesite has a very critical validator build in) and see what tag is not closed. If possible program in such a way that any opened tag is ALWAYS closed. I know some programmers have complete html-building-classes and i guess such a class may be usefull to prevent such crashes. (I thought these horrible differences with browsers were only a problem with javascript.... not with php. ) Chris -------------------------------------------------------------------- -- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands -- --------------------------------------------------------------------

« previous php.general (#56089) next »