Reply to Re: writing for browser compatability

Your name:

Reply:


Posted by Roy A. on 02/25/07 06:36

On 25 Feb, 02:06, "Thad" <tsob...@cox.net> wrote:

> No, it won't go on. I have resolved myself to writing my web pages in xhtml
> strict with JavaScript and CSS. Thank you for the referrals as I will be
> looking into them, though I peeked at the web page you referred.

If you are going to use JavaScript (EMCA) with xhtml you got to write
it so it works in xhtml and in xhtml served as "text/html". You don't
want it to breake. You can't use document.write, and if you are
working with e.g. element names you have to look for both DIV (classic
html) and div (xhtml). Hopefully, if you use JavaScript by heart,
these links will let you write code that don't use browser type
checking:

http://www.w3.org/DOM/
http://www.w3.org/TR/DOM-Level-2-Core/ecma-script-binding.html

I don't know any good books/referances that sorts these things out.
But you got to get a bigger picture. I suggest this site for an
overview:

http://www.w3schools.com/

But don't forget where the real good stuff is: W3C.

---
Bulletproof Web Design: Improving flexibility and protecting against
worst-case scenarios with XHTML and CSS
by Dan Cederholm

CSS Mastery: Advanced Web Standards Solutions
by Andy Budd, Simon Collison, Cameron Moll

[Back to original 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

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