English 中文(简体)
incompatibility issue: use which web browser for developement?
原标题:

i have a mac. i wonder which browser (safari or firefox) i should use to develop my prototype, firefox or safari?

because i have noticed they will give different effects. some things working in safari dont work in firefox and vice versa.

could someone also give me some advices of how to deal with incompatibility problems.

最佳回答

In my work using FireFox as base has worked very well. In my experience it is "closest" to standards and there are wonderful plug-ins for web-development. If your main problems are css incompatibilites you can create the fixes for each browser when you get it right in FF.

问题回答

Both. You do want users of both browsers to be able to navigate your site, right?

I previously used Firefox as my #1 browser for development, employing plugins like FireBug and it s many additional plugins but now I use Safari and find it s Javascript debugging and DOM inspection excellent.

The answer is to use both though - but you ll always use one more than the other and I find Safari to be a better fit. Once I m happy with Safari I then do the final double check with Firefox, then go back to 1990 and check with IE6

You should use FireFox and Internet Explorer 8. Probably should test your code with Google s Chrome too. Chrome OS, that more or less is mainly the Chrome brower, will be out soon if it isn t already with NetBooks sold by cell phone companys.

The general advice is to use a doctype, which forces the browsers to all render the same way. Though in practice I ve found this to not work out, so I don t do it. I generally work side-by-side, starting in FF and moving to others to test. It helps if you build from a solid framework (i.e. jQuery or similar) and just stick to the "basics". At least this is my approach; YMMV.





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签