The semicolon of javascript represents the ending character of a statement, but since javascript has the automatic semicolon insertion rule, it is a very easy thing to make people confused. In general, a newline will produce a semicolon, but the actual si
Due to the flexibility of JavaScript, everyone can write code according to their own habits. There are functional programming methods and there are also a wider range of object literals used now. Due to the emergence of object-oriented, the function progr
Due to the flexibility of JavaScript, everyone can write code according to their own habits. There are functional programming methods and there are also a wider range of object literals used now. Due to the emergence of object-oriented, the function progr
First of all, Pagespeed is a website optimization tool based on the Firefox Firebug plug-in released by Google after announcing that it will include website speed in the PR evaluation criteria. It can automatically analyze page content and provide very de
Font usage is an indispensable part of web design. Often, we want to use a specific font in a web page, but the font is not a built-in font for mainstream operating systems, so that users may not be able to see the real design when browsing the page.
Building an LNMP environment. The system environment of the website server is mainly Linux and Windows. Since Linux is more secure than Windows, not to mention Dotcpp is a place to cultivate professional talents, so our tutorial abandons Windows and uses
An element can be positioned by a selector behind the :hover pseudo-class, just like a descendant selector. In the example above, when the mouse hovers, the color of the text in the span element in element a will be changed.
One of the most bizarre statistics about browsers is that Internet Explorer versions 6, 7 and 8 coexist. As of this article, Internet Explorer versions account for approximately 65% of the market share in total. In the website development community, thi
I started building my own website at the beginning of this year. I used a png picture with a transparent part to make the website logo. I thought it was a time, so I don’t have to consider IE6 anymore. One day when I came back from get off work and opened
The IE6 browser, which was widely produced in 2002 and is currently the mainstream in my country, does not support the fixed positioning attribute of CSS2. The painful front-end engineers have invented various forms of solutions for this:
Because I know some web page production technology, I heard a long time ago that translucent PNG files will have problems displaying under IE6, but since I have never really encountered them, I have never encountered them. I started building my own websit
Put everything in a container with a height of 100% and the scroll bar is set to automatic, and then set an absolutely positioned layer below so that the absolutely positioned layer can reach a static state. Principle: The scrollbar you drag is not the en
A cool new feature in HTML5 is WebSockets, which allows us to talk to the server without AJAX requests. Today, BinGo will allow everyone to run WebSocket through the server side of the Php environment, create clients, and send and receive server-side info