Javascript compatibility help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • harry

    #1

    Javascript compatibility help

    Can anyone point me to a site that gives a good (basic) tutorial on writing
    JS so that it runs in multiple browsers?

    I have a web app that's been targeted for IE 5.5 but need it to work in
    other browsers such as Mozilla.

    Things I've noticed are HTML lines like <div class="divwithb order"
    style="width:60 0px; height:351px;le ft:20px"> - in mozilla the "height"
    attribute seems to be completely ignored!

    many thanks for any help

    harry


  • Robert

    #2
    Re: Javascript compatibility help


    harry wrote:[color=blue]
    > Can anyone point me to a site that gives a good (basic) tutorial on[/color]
    writing[color=blue]
    > JS so that it runs in multiple browsers?[/color]

    Gecko broswers like Firefox focus on implementing to standards. IE
    implements standards plus a bunch of proprietary stuff. Many people
    find it best to do development work in Firefox then test in IE.

    The World Wide Web Consortium (W3C) web site http://www.w3.org/ is a
    good source of information. They have validators for html and css.

    I recommend the book Javascript: The Definitive Guide by David
    Flanagan.

    Robert

    Comment

    • Robert

      #3
      Re: Javascript compatibility help

      > Can anyone point me to a site that[color=blue]
      > gives a good (basic) tutorial on writing
      > JS so that it runs in multiple browsers?[/color]

      See:


      Robert

      Comment

      Working...