|
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]
|