The pure technology of the front end is the cognition of the norm
What is a domcontentloaded event?
The first thought was to view the HTML5 specification for the domcontentloaded, and when the event was triggered:
Once The user agent stops
Article Introduction: In the ul of Li's height in IE6, IE7, IE8, FF under the incompatibility Question solution method.
In the page sometimes use the UL Li list when IE6, IE7, IE8, FF height will be different (which IE6 and IE7 height,
Article Introduction: the latest JavaScript and CSS application tips.
With the development of front-end technology, JavaScript and CSS show great dominance in Web and Web applications, especially with the maturity of HTML5 and CSS3
css|xhtml| style sheet Web Standard design Web site, the transition method is mainly the use of XHTML+CSS,CSS style sheet is essential. This requires all web designers must be proficient in CSS, if you have not used to use, then start learning now.
css| Page | page
1. Styleswitcher.js
function Setactivestylesheet (title) {
var i, a, main;
for (i=0; (A = document.getElementsByTagName ("link") [i]); i++) {
if (A.getattribute ("rel"). IndexOf ("style")!=-1 && a.getattribute ("title") {
A.disabled
css| Web page
CSS code:
. Total width of main{width:800px;/* * *background:red;}. Main. col1{float:left;/* This is the key place to allow the col1 to float to the left so that its back (right) can place other elements (other elements: can be div,
Today, I saw a ppt of a foreigner, the name is "The CSS of Tomorrow", can be translated for tomorrow's CSS or CSS tomorrow, expressing great shock, including a lot of CSS3 and CSS4 new features. Here to share with you ~ ~
If the above PPT does not
Article Introduction: For debugging functions, please output debug information when compiling output, so parsing css file will contain debug information, and then through Firebug or Google's debugging tools can be positioned to our edited Scss file,
Article Introduction: CSS Implementation relative to the browser window positioning thorough research.
Web Developer/designer often need to "fix" an element at a location on the page. such as pop-up window, floating ad bit ... In this
Article Introduction: the version number in the CSS and JS links in HTML.
Background
Search for keywords in search engines. htaccess cache, you can search for a lot of information about setting up Web site file caching tutorial, through
In the content of the site, if you change the content of an area, you may want to change a few CSS. In this way, the original simple modification, began to become complex ...
In the early days of learning CSS, it came into contact with the concept
css| Browser
We all know that there are differences between browsers, many people in the use of Xhtml+css way to create a Web page has been a headache. It takes a lot of skill to work under the influence of these differences, and "hiding CSS" is one
css| Tips
A. Use CSS abbreviations
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations refer to the common CSS abbreviation syntax summary , which does not expand the
Css
Resolve IE5/IE5.5/IE6/FF compatibility issues--CSS
Previously found several different versions of the Internet Explorer can run independently, just to try to test the compatibility of the page. Don't try not to know, in IE6 and FF no problem
css|js| link | Mouse hyperlink, the general practice is to give a title property, so that the user's mouse hover over the hyperlink, it will show the title of the content. But are you tired of the same mouse hover effect?
Of course, there are also
css| Skills | design | Web page design
This translation is not authorized by the author or the website. All rights are vested in the original author and the original website. If you are authorized by the original author or the original published
css| Tips | Optimize skin CSS files that have recently been seen by many netizens and found that they have a lot of redundant code. Let me tell you about how to clear these redundant code to make your CSS file more concise.
First, margin, padding
The problem of css| is common to the novice friends, do not know how to be good, can not think of solutions.
In fact, this is the legendary "IE 3px bug." The solution is also relatively simple. Take a look at the following example
A summary of some of the CSS in FF and IE under the difference! may not be complete, will be supplemented in the future.
Firefox:div set Margin-left, Margin-right is already centered when auto, IE not
Firefox:body set Text-align, Div needs to set
I believe you have been relatively familiar with common CSS bugs, such as: IE6 Three pixelgap, Ie5/6 doubled Float-margin bugs, and more. But often we also encounter a complex CSS bug problem, the so-called "complex" essence refers to the conditions
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.