Solved

Cross Browser problems !!

Posted on 2011-03-09
3
214 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
  • 2
3 Comments
 
LVL 82

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now