Solved

Cross Browser problems !!

Posted on 2011-03-09
3
220 Views
Last Modified: 2012-05-11
I would need guidance in making a BUG free xhtml/css site which should display in all the browsers without any compatibility issues. I'm aware various factors involved in this. Please share some useful sites,tips to overcome this common problems.
0
Comment
Question by:willdoit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 100 total points
ID: 35092892
Download all the browsers, IE, Firefox, Chrome, Safari, and Opera, and use them to test your pages.  Unless you're creating very simple pages, it's difficult to make them bug-free without testing.  If your customers require it, get an old machine with IE6.  The Quirks Mode web site http://www.quirksmode.org/compatibility.html can often help you understand quirky things.  

And all of the browsers now have "Developer Tools" of some sort that will tell what they think is wrong.  Firefox based browsers also have Firebug and Web Developer available to help troubleshoot pages.  And I think Chrome supports some plugins now too.
0
 
LVL 7

Expert Comment

by:Gene_Cyp
ID: 35093289
Firefox,  Chrome and the Older Netscape all use the same engine. So they behave similarly.

Safari and Opera while not exactly the same they follow suit. They have some strange differences, for example Opera's way of handling bullet points.

And then you have IE, a beast of is own. Because MS chose to interpret some of the W3C standards differently. The BOX Model is the most famous one, but there are some other less known issues as well.

Ultimately, this is a matter of weighing the time and cost of satisfying certain browsers given their share of the market.


There are websites showing the internet share of each browser (including several older IE versions).

IE7, IE8, Firefox, Chrome and to a lesser extend Safari and Opera are the main players.

http://www.w3schools.com/browsers/browsers_stats.asp
http://www.webdevout.net/browser-support-css

In terms of compatibility, I suggest you stick to CSS2. Don't use CSS3 because you will run into incomplete browser implementations (ie problems).

http://www.w3.org/TR/CSS2/
http://en.wikipedia.org/wiki/Cascading_Style_Sheets







Alternatively:

In addition, if you are not good with CSS, even though CSS is COOL, I strongly suggest you use tables instead.

HTML Tables are boring to use and slower to load. They are also harder to maintain but they are an excellent beginner's tool. They are easier and if you have a program such as dreamweaver it readily uses them to make webpages.

A lot of CSS functionality emulates table-like look anyhow.
0
 
LVL 7

Expert Comment

by:Gene_Cyp
ID: 35093306
Just one thing, you will only tackle cross-browser issues on an individual basis, one by one.

The upside is, there is a lot of help to be found online on how to achieve something using CSS.

A very good link (for me) is: http://www.alistapart.com/
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question