IE6
-
Jquery determines the browser type Using jquery to determine the browser needs to use the syntax: $ Browser. ['Browser keyword '] Judge the syntax example of each browser two thousand and thirteen ten thousand six hundred and fifty-eight -
Iframe adaptive height method I haven't updated my blog for a long time. Due to the busy work, the team of the small editor came up with the problem of iframe adaptive height when making zblog topics. Now I share it with you. I hope it can help you. Many students who are exposed to the WEB front end have been troubled by the adaptive height of iframe. Today, Tuoyuan shares the method of adaptive height of iframe. The width of iframe is 300px by default, and the height is 150px by default. If you need to adapt the height, you need to use the following two thousand and thirteen eighteen thousand two hundred and eleven -
CSS Hack of IE10 Just now I saw the CSSHack method of IE10 on the Internet, and found that IE10 browser no longer supports conditional annotation. So I used IE10 browser to visit some projects I had done before, and found no exceptions. PS: The project seldom uses conditional annotation, which is nothing more than a transparent style compatible with IE6. PNG images used by IE7+are transparent, so it doesn't matter if IE10 doesn't support conditional annotation two thousand and thirteen twelve thousand one hundred and forty-three -
Set as the code of home page and favorite site, compatible with IE, chrome,firefox I believe many friends are looking for the codes of "set as home page" and "collect this site". Now there are many codes on the Internet, but the compatibility is not very good. Let's share these two codes with good compatibility, which are also used in some topics of Tuoyuan. I hope it can save your time. Why write if you can use them directly two thousand and twelve twenty-two thousand seven hundred and eighty-four -
Jquery selector nth child usage Those who are engaged in the front end of the WEB know that there are few pseudo classes supported by IE6 browser, but we have to apply jquery when we need to apply it to the website frequently in the process of implementing the project and to be compatible with IE6/7 browser. For example, to achieve the effect of interlaced table color change, the nth child attribute of CSS is incompatible with IE6/7, so we can put the nth child attribute into jquery to apply it two thousand and twelve twelve thousand nine hundred and seventy-one -
Solution to font size: 0 failure in IE6/7 Recently, the war between Jingdong and Suning Gome is very fierce. The boss of Jingdong, Liu Qiangdong, is full of arrogance. Let's study the website of Jingdong Mall. I am a person who likes to pursue details. I like to find faults. Maybe I choose front-end design. There are many occupational diseases. Open the JD website and use red as the main color, which means that business must be booming, as Lao Liu's microblog (@ Liu Qiangdong) said: JD is really a child! We still have many shortcomings and shortcomings, and we often wrestle! But we will get up by ourselves and try our best to walk better and better two thousand and twelve fourteen thousand three hundred and thirty-one -
The method of CSS implementation background not scrolling with the browser In memory, we have seen many blogs, microblogs and QQ spaces, where many people have set a fixed background for their den and do not scroll with the browser. Besides javascript, CSS can also be easily implemented two thousand and twelve twelve thousand one hundred and sixty-nine -
Solution for IE6 does not support first child The Oolong Cat website was just launched yesterday. Later, under IE6, it was found that the margin top of the first module in the smart floating of the sidebar was not 0, which was originally defined in CSS two thousand and twelve fifteen thousand seven hundred and twenty-nine -
Intelligent floating layer positioning solution When the page scrolls and the smart floating layer begins to fade out of the browser window, it floats on the top edge of the browser window. This effect is common on major websites in China, such as Sina Weibo and Taobao. Implementation principle: The default state is the default state, and you don't need to do anything. It's OK to locate it as absolute or static two thousand and twelve twelve thousand four hundred and fifty-five -
rgba for background color of IE7&IE8 RGB color mode (also translated as "red, green and blue", which is rarely used) is a color standard in the industry. It obtains various colors through the changes of red (R), green (G) and blue (B) color channels and their superposition, RGB is the color representing the three channels of red, green and blue. This standard covers almost all the colors that human vision can perceive. It is one of the most widely used color systems at present two thousand and twelve thirteen thousand five hundred and ninety-four -
Solution to position: fixed failure in IE6 IE6 browser does not support position: fixed. IE7/8/9, Firefox, Chrome and other browsers all support fixed positioning. How to solve this problem? Method 1: Write hack for ie6. Other browsers still use the position: fixed attribute two thousand and eleven eleven thousand nine hundred and fifty-six -
IE6 does not support li: hover Incompatible under IE6 li: hover, I read a lot of similar articles on the Internet, but I couldn't use many methods. Later, I found a solution that is compatible with IE6/IE7/IE8 and Firefox two thousand and eleven eleven thousand seven hundred and thirty -
CSS makes the background transparent text opaque: original by toyean Transparent effects are often used in some special effects or navigation. For example, a lottery page I made requires transparent background and opaque text, but it often encounters the problem of transparent background and text at the same time. The following is my own solution, compatible with IE6/IE7/IE8/Firefox/Safari. The specific codes are as follows:< metahttp-equiv="Content-Type"content="text/html... two thousand and eleven ten thousand five hundred and fifty-six -
Solution to invalid min height in IE6 When writing HTML, we often use the css style of min height, but sometimes we encounter that min height is not very compatible in IE6. In order to keep the minimum height when there is less content, we will use the min height attribute to control. How to solve the compatibility problem of min height in IE6? The following is the compatible code two thousand and eleven nine thousand two hundred and forty-nine -
The display: block of tr in the table is displayed incorrectly in Firefox The solution to display the display: block of the tr in the table in Firefox is to use the display: block attribute when a cell row needs to be displayed, and the display: none attribute when no display is needed. In addition, it displays normally in IE browser without any problems. However, when browsing with Firefox, the layout is disordered. Then I checked the source code through FireBug, debugged it, and found that display: block belongs to two thousand and eleven ten thousand and eleven -
Principle of efficient and clean CSS code Appropriate code comments code comments can make it easier for others to understand your code, and reasonable organization of code comments can make the structure clearer two thousand and eleven six thousand five hundred and ninety-three -
Position: absolute under IE6 to locate bugs and solutions Using position: absolute to locate under IE6 has left and bottom location errors. Here are some common solutions two thousand and eleven seven thousand six hundred and five -
Position Using CSS to locate the position of the inner layer of the page has always been difficult to master. In many cases, the elements that are absolutely located always take the upper left corner of the browser as the coordinate origin. At this time, if the size of the browser changes, the defined layer will deviate from the desired position of the design, which makes people scratching their heads. In fact, if you want to control the absolute positioning of layers, as long as you understand the definition of positioning in CSS, everything will become easy and simple two thousand and eleven six thousand five hundred and sixty-eight