You are here: Re: moving from HTML to XHTML « HTML « IT news, forums, messages
Re: moving from HTML to XHTML

Posted by Juerg Beck on 06/16/07 07:01

On Tue, 12 Jun 2007 12:32:10 -0700, Animesh K <animesh1978@gmail.com>
wrote:

>I was thinking to move from HTML 4.01 strict to XHTML 1.0 strict. Is it
>worth it? Any advantages if I am going to use AJAX/Javascript heavily? I
>heard XHTML has a better (and stricter) document-object model, but I
>thought to ask the group before making a move.
>
>By the way, my HTML 4.01 strict layout confirms to w3c and their validators.
>
>Best regards,
>Animesh

There is one reason: If you want to display Google maps with overlays
in IE. These are shown only if your page is in XHTML strict.
For this reason I had to change from HTML 4.01 transitional to XHTML
1.0 transitional, to be able to change my page with the google map
just a little bit to reach XHTML 1.0 strict. Not doing it that way had
led to a different layout compared to the rest of the site because I
work a lot with includes in PHP.
BTW: lot of people here in this NG are often complaining about bad
code. What do you think about my code on www.bcbaden.ch ? You will
find the Google maps on www.bcbaden.ch/mapsonnmatt.php
I appreciate any comment. I want to make this site nearly perfect, at
least as the amount of work allows it.
Bets regards
Juerg

--
Posted via a free Usenet account from http://www.teranews.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация