CSS property: marker-offset
Marker-offset: auto | length; Value: Auto: default value. The browser automatically sets the padding length: The length value composed of floating-point numbers and unit identifiers. Can be negative.
Description: sets
My previous
Article "
Div + CSSStyle table ID and class naming rules I mainly talked about the naming rules of ID and class. With the foundation of the previous section, what I am talking about today is
Div + CSS style sheet The use principles
At present, most websites have only one style and one layout. They do not choose what they like based on users' preferences and habits.StyleTemplate. In this way, the website will not be dull and will not be updated in time. If you want to
1. UL labels have padding values by default in Mozilla, while only margin has values in IE.
2. The same class selector can be repeated in a document, but the ID selector can only appear once. CSS definition is performed for a label using both
Previously, because the company specialized in CSS + Div slicing designers, I have always paid attentionProgramDesign and development. Now, because some web site projects need to be created, CSS and jquery are learned in their free time.
CSS contains the "various styles" format for pages and controls.
Therefore, when a page is displayed, all elements, text, buttons, and link styles on the page are displayed in the format defined in CSS.
CSS can speed up page loading, because
There is a gap bug below the picture inserted by Li in IE6, which is a classic bug in IE6. There are many ways to solve this bug. Today I have sorted out four methods in total and I will share them with you.
AttachCode:
Doctype html > Html
Width"Shrinkage" and "extension" adaptation of attributes
AllWidthEach attribute element has a defaultAutoValue, but in useAutoNot all elements have the same effect. For example, The element only scales horizontally to accommodate the data in it.
Not used for a long timeCSS hackNow, in the new environment, some of them are not self-written. The above is just a life-saving attempt. There is no way to use CSS hack.
NormalCSS hackUse less
Look at people for speedCodeReally tangled
Get
Align webpages with each other using CSS
How to center a divThe main style definition is as follows:
Body {text-align: center ;}# Center {margin-Right: auto; margin-left: auto ;}Note:
First, define text-align: center in the parent element.
How to center the entire page content, and how to automatically scale the highly adaptive content. This is the most common problem in CSS layout learning. The following is a practical example and detailed explanation. (The experience in this article
CSS is one of the most important elements in a webpage, CSS Code that is not easily written by most people in Web development to achieve an ideal design. In fact, many people are hard to grasp CSS. This article provides a free list of online CSS
CSS compatibility with browsers is sometimes a headache. Maybe when you understand the skills and principles, you will feel that it is not difficult to collect IE7 from the Internet, 6. The compatibility processing skills with fireofx are sorted out.
With new technologies flooding the Web, different tools are available with which a web designer can showcase his creativity and craft. but despite putting in the effort and sweat, numerous websites with fantastic creativity fail to get noticed. also,
First lookSource code, Especially the following lines of CSS styles,
Style Type = "Text/CSS" > . TNT { Writing-Mode : TB-rl ; Text-align : Left ; Font-size : 9pt ; } Style >
SourceCode,
Html
>
Head
>
During component development, there is usually a CSS file resource.
However, in practice, to reduce the number of requests, this CSS may be merged into the CSS of the page.
So, do I need to include this CSS when writing components?
Response
Note: √ means full support
Delta means yes, but some questions exist.
The effect is obviously not supported.
I. Support for CSS pseudo classes:
2. Support for (selector) selectors
After reading the list above, I don't know if you have found a
This principle is often used. I remember that this was the first time I found it was in Google music.
Http://www.google.cn/music/homepageto view the category navigation. After clicking here, the blue line is lost.
Today, we can see the navigation
A method mentioned in "A review of WEB compatibility problems that have been confusing" is that "the method of absolute percentage locating and negative value of external patches is used, the negative value is half of its own width and height. "The
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.