css| Grammar Author: Atzie 2005-4-8 15:28:00
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations are as follows:
Color
16 The color value of the binary, if the value of
Dreamweaver is a Web page production and management site in one of the WYSIWYG Web page editor. Because of the powerful function of DW, it is possible to define CSS directly in him (style sheet), and this CSS has given me a little problem.
thing
As shown in figure:Set up:
Effect:
There is no good way, on the internet for a long time, mostly speaking style, I have not yet learned, I also know that the style of course is a lot of good, can be set into a rich table, dotted ah, two lines
White-double distance is a highly misunderstood CSS feature. It is not a CSS bug, but if we misunderstand, it will cause you a lot of trouble.First look at the following demo code:
" ! DOCTYPE html " " > HTML ,
recently I want to revise this website, I want to put a hint box above. It's easy, but I want the tip box to have a triangular arrow on it. However, the thought of this need to use pictures, and a variety of colors, arrows in various directions to
Although there are a number of CSS methods to achieve the transparency of PNG images, but in the browser's compatibility effect is not good, small set found a compatible browser with CSS to define the effect of PNG transparency method, the following
Concept
The browser determines which attribute values are most relevant to the element by judging the priority, and applies to the element. The priority is determined by the matching rule that the selector consists of.
How to calculate?Precedence
White-space: Property sets how to handle whitespace (whitespace, newline, and tab characters) within an element.
Normal defaults. Whitespace will be ignored by the browser.
The pre blank is reserved by the browser. It behaves like an HTML
Label.
Look at 1 simple css:Div#divbox p span.red{color:red, according to our understanding of this CSS, the browser first looks for the DIV element with ID Divbox, and when found, finds all the p elements below it, and then finds all span elements, When a
css| Keywords | Web page
Because the project to write the document structure, write CSS more people, and work with the programmer, you need to unify the name of class and ID, the day before yesterday spent a little time, according to most people's
css| Button | Page today the company platform in front of the designer to do the button part of the redesign, the original use of JS to achieve the image of alternating changes in the way, but the disadvantage is: the use of the ID in the input, and
css| Tutorial | style sheet
Highly recommended: A very good stylesheet CSS Tutorial (table below)
Highly recommended: very good style sheet CSS Tutorial (1)
Highly recommended: very good style sheet CSS Tutorial (2)
Highly recommended: very good
css| Solutions | web | issues
Look at the bottom of these CSS writing, I have seen in the past some of the problems, see you can guess right? You'd better reply first and say what you think is the right answer! And then see what the effect is! That'
css| Standard | error | process | Web page
For beginners of CSS layout may be a great help. Experienced developers can also get some inspiration when debugging CSS layouts.
1. Check the HTML elements for spelling errors, forgetting to end tags
Even
css| link | style sheet
Does CSS stylesheet file use link to invoke a separate file, or is it better to use the inline page directly? Or what exactly are the two ways to use?
In the past, we usually used style sheets in 2 ways:
Page inline: Just
css| Web page
Margin
div CSS Layout Paragraph use label, for the upper and lower margins of the paragraph (indentation) can use the margin tag to define the style. Margin is defined as the top, bottom, left, and right four directions, and
css| tips
Five. Default value
Usually the default value for the padding is transparent, which is the default value for 0,background-color. However, the default values for different browsers may be different. If you are afraid of conflict, you can
css| Skills | Web page
common methods for CSS layoutFloat:none|left|right
Take value:
None: default value. object does not float
Left: text flows to the right of the object
Right: text flows to the left of the object
How does it work, look at a
tab is very common in current Web applications, and the biggest benefit is that you can take advantage of limited space to show more content. The Common tab is usually done through JavaScript, and its benefits are flexible and powerful. In some
Ideas
The idea is very simple, is a word to write two times, a word only show part, but can not really write a word two times. Here you need to use CSS pseudo elements: Before and: After, remember this "pseudo element" of the word "pseudo", that it
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