Preface: I have to admit that at the very beginning of the day, I was very much against the pre-compilation of CSS, which was wrong. Generally in the process of page writing, I will need to reset the CSS in the RESET.CSS, will need to be reused to
Front-end browser JavaScript and CSS compatibility summaryFirst, getElementById"Standard Reference"The getElementById is a method provided by the Document interface that gets an element in which the parameter passed in should be the value of the
Cascading style sheets (CSS)
There are three ways of calling:1 用 Gotcha!"); } Character encoding:To ensure that you can use characters that may be problematic in CSS, CSS provides a way to add six hexadecimal digits to a backslash ().The
IFrame applications are common and typically require two types of requirements:
1, get the IFRAME effect, is to bring a scroll bar, you can save a lot of layout.
2, to embed a page, to implement the framework link.
If the IFRAME is not easy to use,
1 Handling Instructions
Some user agents display processing instructions. Note, however, that when there is no XML declaration in the document, the document can only be encoded with the default character encoding UTF-8 or UTF-16.
2 Empty elements
Author: junchen 2005-5-24 9:56:57
Original: http://www.sovavsiti.cz/css/abbr.html
Translation: Junchen
Copyright: Translator Junchen All, reproduced please contact the translator.Brief introduction
is used for abbreviations on the Web page (the
At present, there are several uses for the following purposes:
1. Display server-side environment variables
2. Insert text content directly into the document
3. Display Web document related information (such as file date/size, etc.)
4, directly
The RGB color is called additive color because you can produce white by adding R, G, and B together (that is, all light bounces back to the eye). Additive color is used to illuminate light, TV and computer monitors. For example, the monitor emits
Working principle
#wrapper必须触发hasLayout, or sometimes inside the content will float strange, I directly with float, can be used in other ways. In fact, if only to do this example to the effect of even #wrapper can not.#left定义100% width and take
Drop-down and pop-up menu is a common form of navigation in Web site design, this kind of menu can make full use of the page now hiding and display more content, and can reasonably classify the content display, is a very good form of
If we set Li to Position:relative; set span to Position:absolute, then we will find that regardless of whether the z-index value of span is set higher, it will always be below the back parent.
Some time ago remember who in the group put forward a
For a long time, I used 12px as the main font size for the site. 10px is too small,
EyesEasy to fatigue, 14px, although easy to see, but damage the beauty of the page. Only 12px is just right for both aesthetic and visual acuity.
Who has a comment
It is always confusing to define the number of parameters in the padding attribute in CSS, for example:
body {padding:32px;}
body {padding:32px 24px;}
Body {padding:32px 24px 18px;}
Body {padding:32px 24px 18px 12px;}
Today, Baidu looks at the
Often used in frame structure, such as the left and right two frames, the left side of the frame in the file is displayed in the frame. As long as the base tag is used to write its target property value to the right frame name, it is no longer
Locate and z-index, locate z-index
Positioning
Location used to control the element
The positioning keyword is position and position has four values: relative, absolute, static, and fixed. After the element is located, the element has four values
72 changes to a tag, creating a pure CSS icon library, 72css
Every time the icon is usedIconoCopypaste is used, but the sizes are different each time. It is annoying to adjust parameters. Of course, you may want to use zoom and scale for scaling,
Fiddler uses AutoResponder to map local files to online files. autoresponder
Go straight to the question ..
I just want to write a summary article, add a new essay in the blog Park as usual, write a hundred words and find something wrong
Where is
Deep understanding of CSS Media queries and deep understanding of css* Contents [1] media type [2] media attributes [3] syntax
When it comes to responsive design, media queries are indispensable. It is generally considered that media queries are
Perfect, full, compatible, and compatible with justify
Text-align: justify; supported by all browsers. text-justify and others only support IE.
Justify, in my understanding, alignment the two sides of the child element inside the element. The child
Compatible with min-width, min-height, and ie6minheight of IE6
If a site is wide-screen, you can drag the browser's window to the left and right. The website width will change with the window size. When the browser's window width is reduced to a
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.