The combination of DataURI and MHTML can completely solve all mainstream browsers. They are not suitable for use directly on pages because they cannot be cached or reused, however, the proper use of images in CSS and JavaScript files has a great advantage.
Data URI
Data URI is a scheme defined by RFC 2397 to directly embed small files into documents. The following syntax can be used to convert a small file into a specified encoding and embed it direc
In IE, Firefox, Chrome browser display the effect is not the same, mainly the front of the space width is different.On the Internet to check the information, it is probably the meaning of:Different browsers will have different default fonts, general IE default fonts are Arial, and Firefox and chrome default font is times New Roman, Arial is a character, such as wide font, but Times New Roman is not a charac
The Wall Street Journal recently reported that the EU is considering a very effective sanction scheme for the EU's anti-monopoly investigation into Microsoft, change the previously banned Microsoft from bundling IE in Windows to bundling multiple browsers. The decision is expected to be announced within weeks.
The Wall Street Journal recently reported that the EU is considering a very effective sanction scheme for the EU's anti-monopoly investigation
In the past two weeks, the competition between Microsoft and Google's two major international giants on browsers was remarkable: In August 27, Microsoft's Internet Explorer 8.0 (IE8) beta version II was officially unveiled on Microsoft's official website; in September 2, Google launched the Chrome browser beta version for the first time worldwide. However, the browser war did not stop. In September 10, Qiho
At the end of last year, Microsoft accepted the browser "Select Interface" ballot screen provided by its rival Opera. This solution was subsequently recognized by the European Union. Microsoft announced that it will test the new browser selection interface for Windows XP, Vista, and Windows 7 users in Europe this week. Microsoft praised Mozilla for developing Firefox and believed that providing a browser selection interface would help the Internet to
component of the browser. Webkit is Firefox, web page rendering components commonly used in browsers such as Safari and Chrome. Slusallek said that after using this technology, the images on the web page will be compiled using XML3D in the HTML Web programming language, while the browser can be able to render the web page images in this language.
At the Cebit conference, Slusallek showed participants how the interaction of the "Venice" entry page on
Recently Viktorija pashua, a photographer from California, has combined various web browser icons with fashion and interpreted the "temperament" characteristics of different browsers in a special way.
The fashion photographer has been imagining what kind of appearance and posture the browsers would look like if they were women? Recently, to realize her idea, she invited the supermodel Kaylen Dao, Brittany
The events of the Pulley scrolling page are encountered in the web effects, but they are implemented differently in different browsers. The following methods I implemented are compatible with common browsers.
function GetData (event) {
var e = Event | | window.event;
Gets the scrolling distance (FF each scrolling data is 3 or-3, others are 120 or -120)
var data = E.detail | | e.wheeldelta;
alert
Document directory
1. Only IE Opera supports binding and unbinding Event Listeners using the 'tachevent' and 'detachevent' methods.
2. Differences between browsers in obtaining event objects
3. Differences in properties and methods of event objects in various browsers
1. Use features to determine whether to bind and unbind functions to event listeners without compatibility issues
2. Use features to d
-end. If you want to become a well-sought-after and well-paid front-end with 80 points, to make practical use of business needs and architectural design, and to achieve a top-level front-end with 100 points, we must be able to take into account both technology and design, it is closer to "full-stack engineers mainly engaged in previous development.The market lacks front-end engineers rather than excellent front-end engineers.
Now, front-end engineers have a place in the web. With the evolution a
To get the calculation style of HTML elements there are always many compatibility issues, there are some differences in browsers, Firefox, WebKit (Chrome,safari) to support the standard of the Consortium method: getComputedStyle (), and ie6/7/ 8 does not support standard methods but has private properties to implement: Currentstyle,ie9 and opera two are supported. With these 2 methods and attributes, you can basically meet most of the requirements.
Browser compatibility issues are an easy to ignore and most important part of the actual development. Before we talk about the old version of the browser compatibility issue, we first need to understand what is ability detection, it is to detect the browser has the ability to determine whether the current browser support to call the properties or methods. Here are a few brief introductions.
1, innertext and innercontent1) innertext and innercontent function the same2) innertext IE8 Browser supp
). This advantage is greatly simplifies the client computer load, reduce the system maintenance and upgrade costs and workload, reduce the overall cost of users. As a result, users only need to install a browser to browse the page, do not need to know what the server side of the operating system or server-side how to handle requests made by the browser, you can easily see what you want to see.The workings of the browser can be understood in the following steps:(1) The browser requests a URL to a
, value){VaR days = 1; // This cookie will be saved for 1 dayVaR exp = new date ();Exp. settime (exp. gettime () + days x 24x60*60*1000 );Document. Cookie = Name + "=" + escape (value) + "; expires =" + exp. togmtstring ();}
Function getcookie (name) // The cookie function.{VaR arr = Document. Cookie. Match (New Regexp ("(^ |)" + name + "= ([^;] *) (; | $ )"));If (Arr! = NULL) return Unescape (ARR [2]); return NULL;}
// Set the cookie, which containsArticleTwo situations mentioned at the beg
These two days in a regular expression with a slightly more complex things, but different browser differences can waste me a lot of ginseng.Now I put the regular expression in the five major mainstream browsers (IE, Firefox, Chrome, Safari, Opera, the current version of the subject of the difference between the list out, to everyone, also counted to me to do a memo.Firefox and Chrome are overly optimized for regular expressions created in loops, and i
Liu FengThis article is the third article in the series of Internet neuroscience articles. For the biological brain, the study of Neurophysiology is based on neural anatomy. Its approach is to stimulate the brain and surgery to remove the brain, the experimental analysis of the overall brain function, archaeologists found that in 30th century BC to 17th century BC, the ancient Egyptian papyrus, appeared the first man on the cerebral cortex description
Various viruses, Trojans, hacker software, and other malicious programs on the Internet all threaten the security of the system. Anti-virus software and firewall are not omnipotent. Therefore, the best way is to place network tools such as browsers in a virtual environment for running. In this way, even if malicious programs are intruded into the system, they will not be exposed to the real system, this wil
1. onload event
IE6/7:
IE8/9:
Opera:
That is, IE6, 7/8, 9, and opera all support onload events, whereas Firefox, Safari, and chrome do not.
Note: Use js to create a link label and add it to the head. The above is the case.
2. onreadystatechange event
In IE6, 7/8, and 9, no other browsers are displayed. Only Internet Explorer supports the onreadystatechange event of the link el
We found that the traditional collection of the site button under the 360 browser has no effect, but the 360 browser user base is very large. So we found on the Internet a compatible with all the browser's favorite site solution, the specific functions are as follows:Set homepage and bookmark this site JS code compatible IE,CHROME,FF,360, etc.Put the following code into the page or create a new JS filePage Call:Compatible with all
Session cookies are widely used for browser user identity verification. In a recent project test, we encountered a related problem. After two different IE8 windows and logging on as two different users, the previously logged-on user page will be refreshed to the second user information page after the second user login. However, it is good to test in IE6 browser and no similar problems are found.
I checked the session settings in the entire project and found no problems. Finally, the analysis sho
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.