Skip navigation
Currently Being Moderated

How create websites that work same in IE, Firefox, Opera, etc.

Jun 24, 2012 2:24 PM

To my chagrin a website that I tested using Internet Explorer malfunctions on Firefox.  The problem is Javascript functions such as buttons that change colors.  Anyone know of some strategy for writing html and Javascript that functions the same on the various browsers?  The buttons were developed using Dreamweaver so hopefully DW has some utility that addresses such compatibility problems.

 
Replies
  • Currently Being Moderated
    Jun 24, 2012 2:25 PM   in reply to cyberbaffled

    If you build your site correctly with valid HTML and CSS, there is very little cross-browser variation to deal with.

     

    Firefox, Chrome, Safari and Opera are all web standards compliant browsers, so if you're seeing problems in one of those browsers you have a deeper problem that needs fixing.

     

    Start by validating your code with the W3C Code Validation Tools:

    ------------------------------------

    CSS - http://jigsaw.w3.org/css-validator/

    HTML - http://validator.w3.org/

     

    IE is and always has been the problem child. If your site is broken in IE, use Conditional Comments.

    http://www.positioniseverything.net/articles/cc-plus.html

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 24, 2012 4:25 PM   in reply to cyberbaffled

    Got a link so we can take a look in our browsers and see what you're dealing with?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points