css| Resolution | Browser
Explain:
var ie1024= "";var ie800= "";var ie1152= "";var ieother= "";Quotation marks are filled in separately, when the user uses IE and the resolution is 1024*768,800*600,1152*864 to use the CSS filename.
var firefox1024=
css| Menu
This is a fully implemented in English and Chinese bilingual navigation menu, no script and pictures, initially, the menu language is English, when the mouse hovers over the menu, it becomes Chinese, of course, you can also do in
css| Syntax
1, color
function : Sets the color of the foreground or element.numeric value: Use a color keyword or an RGB value.Example :
Text color (keyword)
Text color (#rrggbb)
Text color [RGB (RR,GG,BB)]
Text color [RGB (r%,g%,b%)]
2,
css| Display this section of CSS code is quite simple, the purpose is to use CSS to control the display of a paragraph of text and hide. At first I used the following code, it is amazing that they did not respond to my IE6.0, we do not believe that
css| Web | detailed
Margin in Chinese we translate the outer margin or outside filler (the outer margin is referenced in this article). He is the underlying attribute of the element box model (box models).
First, the basic characteristics of margin
css| Advanced | web | syntax
Grouping of selectors
You can group selectors so that the grouped selectors can share the same statement. Separate the selectors that need to be grouped with commas. In the following example, we grouped all the header
css| Skills | website | optimization
Optimization Code: web page Technology CSS font properties of the abbreviation of the skills, abbreviations to reduce the code, optimize the CSS to make it more reasonable.
The CSS Font property is used to
css| Tips | links | Web pages
Link text underline, underline, delete line (through line), flashing, etc. can be achieved through the CSS text-decoration properties. The relationship between the property value and the effect is as
css| Tips
eight. Multiple class definition
A label can define more than one class at a time. For example, we first define two styles, the first style background is #666, and the second style has an PX border.
. One{width:200px;background: #666;}
.
css| Control | adaptive
Web page production techniques to solve: the use of CSS control image adaptive size
The image automatically adapts to the size is a very common function, in the production time in order to prevent the picture to open the
css| Filter If you use your hand to quickly cross an oil painting that has not yet dried, the picture will become blurred. The blur attribute under CSS will achieve this fuzzy effect.
Let's take a look at the expression of the Blur
css| Dynamic | Transformation by setting properties in CSS, we can define exactly the style of a page, such as color, font, border, and so on. Now we want to talk about the CSS positioning is mainly in the layout and control of the page to define,
CSS 1. Block and inline element comparisons
All HTML elements are part of block and inline.
The block element is characterized by:
Always start on a new line;
Height, row height and top and bottom margins are controllable;
The width defaults to 100%
With good CSS can make your page more conciseness, why the same content of the page, some people do out there are dozens of KB, and the master made only more than 10 kb,css in which the role is self-evident. Here are some common questions in using
Css
Principle
Two identical and different colors of the text together, by adding clip attributes, so that the above and below the text is cut position different, resulting in two different colors.
Clip: Excerpt from the Su Shen light rain CSS Manual
css| Menu | dropdown
Step One: Create a menu
First of all, it is very important to establish a menu architecture, the best way is to use the UL to establish the content of the menu from the main relationship. Is it complicated? In fact, as long as
css| Round Corner HTML code
Untitled document cornersthis is a sampleof a rounded box with funny corners
Css:
/* Start-first Example *//////Set millions of background images * *
. rbroundbox {Background:url (images/c00.gif) repeat;}
. rbtop
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.