Most browsers now cache pictures, CSS, and JS files on the site to increase load speed. When your site changes CSS and JS, often because caching reasons can not immediately take effect.
Such old CSS and new Html may lead to errors, here is a small
I used a position: fixed attribute in the css tutorial, but unfortunately, this attribute does not work in IE6, the tragic IE6, so I found a solution, we will share with you the best solution, and you may be able to use it in the near future.1. The
I. OpeningA long time ago, I counted seven sins of IE6 (seven bugs with egg pain).Check IE6 bugs to see which ones you have encountered [updating]Although the number of IE6 users is declining, we still need to consider for those who are confused.
In the css tutorial, ie6 position: fixed (fixed positioning) uses position: absolute's solution to completely use position: absolute to solve the fixed positioning problem. Because other browsers support absolute positioning, they have passed tests
Use the margin attribute of the image to center the image horizontally, and use the padding attribute of the div to center the image vertically.The structure code is the same as above;The css code is as follows:Div {width: 300px; height: 150px;
The code is as follows: Copy code a css sliding menu with excellent compatibility 111cn.net webpage effect Source Code Download material resources Webpage. Special effect source
The first method to solve high self-adaptability is to 100%.. Div {height: 100%; overflow: hidden ;}The second method solves div height self-adaptation: min-heightAdd this sentence to the CSS of the DIV: min-height: 200px; height: auto;In this way,
I remember that when I used table for web page layout, it was very troublesome for the left and right columns to have multiple rows. Now I use css + div to implement it. We only need to set the total width of the big div, then, the div to be
Now let's take a look at the code compiling method of css + div text-and-text mixing layout with multiple columns and multiple rows. Let's first look at the effect picture.This is an effect Image. Let's see how css is laid out; Join Magic Fun
The code is as follows:Copy code Div + CSS tutorial CSS layout instance CSS2.0 tutorial CSS cool site CSS template download Let's look at CSS encoding:Example Source Code [www.111cn.net]# Menu {Display: block;Position: relative;Background: #
The code is as follows:Copy code top home Even blog self-help language balancer books and mountains Xuehai Shen Zhou garbage collection Bi Qiansi confused wellhead observation website navigation self-help speech
The code is as follows:Copy code Product Content Management System Competitive Intelligence System Customer Service Technical support message feedback online help
For the z-index attribute of CSS, see the following introduction:Z-index: auto | numberAuto: default value.Number: an integer with no unit. It can be a negative number.Elements with a large z-index value are superimposed on elements with a small
Css can process 16,777,216 colors and use names, rgb values, or hexadecimal code.RedEquivalentRgb (255, 0, 0)EquivalentRgb (100%, 0%, 0%)Equivalent# Ff0000Equivalent# F00There are 17 pre-determined colors, which are:Aqua, black, blue, fuchsia, gray,
CSS has 1677216 colors for your disposal. It can be represented by the name, rgb (red, green, and blue) value, or hex value.RedSameRgb (255, 0, 0)SameRgb (100%, 0%, 0%)Same# Ff0000Same# F00There are 16 valid predefined color names. They are: aqua
According to our understanding of CSS priority, the final defined CSS style will overwrite all existing or conflicting styles defined previously, such as the following example: The code is as follows:Copy code P {color: red; background: yellow}P
Author: Blank XiaofeiPseudo Class: hover is one of the most commonly used pseudo classes in CSS design. Many beautiful effects cannot be achieved without the pseudo class: hover, such as our common pure CSS menus and album effects.It may take so
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service