Paddingpadding-toppadding-rightpadding-bottompadding-leftmarginmargin-topmargin-rightmargin-bottommargin-left
Padding: Top, right, bottom, left; {clockwise from top}
It can be indicated by padding-top, padding-bottom, padding-left, and
I used to write functions in IE, so I wrote some functions in Firefox. I spent a lot of time on Firefox and found some differences between Firefox and IE:
1. Firefox does not support innertext or why. Firefox supports innerhtml but does not
ArticleDirectory
11.2 CSS matching rule reference
11.2.1 select a child Matching Element
11.2.2 inheritance
11.2.3 select child matching child element
11.2.4 use a combination to match multiple elements at the same time
11.2.5
CSS attributes and delimiters
The syntax structure of CSS consists of three parts: selector, property, and value ).Usage:Selector {property: value ;}
Selector)This set of style encoding objects can be An XHTML tag, such as body and H1,
Recently in http://www.dynamicdrive.com We can see an image thumbnail viewer script with good results. It supports ff1 + ie5 + opr7 + and can pass the W3C test. In ie5.5 +, there are pictures to show the erased field effect. The DIV + CSS section is
During this period, I have been touched by the concept of CSS Sprites several times. One is when CSS is used as a sliding door, and the other is when yslow is used to analyze the website performance, so I became very interested in the concept of CSS
1. Keyword, for example: Background-position: Top right;Advantages: intuitive, high availability, consistent performance in various browsers.Disadvantage: The interval size is missing. three vertical (top, center, bottom) and three horizontal (left,
New IE8, more asshole. Now let ie explain it with IE7 script.
Add to the head.
1.> it is a sub-Selector Used to match the direct generation, and the grandchildren do not match. IE6 is not supported. Example:Li: hover> A sub-object selector only
In the past few days, You need to right-click the function menu on the page to pop up the function. After studying and reading the information, you can find a feasible solution and record it for future use.
First, prepare JSCode, Used to create a
Reference:Http://www.aa25.cn/div_css/902.shtml
The CSS box model is the focus of this tutorial. The previous knowledge points can be well understood and mastered if you use table layout. The box model here is different from the table layout. To
Some time ago, from c/s to B/S, when B/S was mentioned, CSS could not be said, but CSS could not be used to drop the box model. When CSS was born, it had the concept of a box model. Most elements in a webpage can form a box model ,. The box model is
If you frequently access the Internet, you will find some advertisement floating sections. Click to hide, and only a small part of the area is left on the edge. When you move the mouse to the small part of the area, the advertisement is very active
There are many terms for creating web pages, such as CSS, HTML, DHTML, and XHTML. In the followingArticleWe will use some basic knowledge about html. Before you start this tutorial, make sure that you have a certain HTML base. Next we will start to
The framework is a basic conceptual structure that you can use for your website project. CSS frameworks are usually just a collection of CSS files, including basic layout, form styles, grids or simple structures, and style resetting. For example:
In the previous article, I pulled the HTML stuff and now I want to read CSS,
1. completely separated HTML and CSS
Avoid using the style attribute on the label at any time; move the content in the label to an external CSS file;
2. Select
What is CSS reset? Some colleagues call it "css reset", and some may call it "Default CSS ".....I believe that after reading the full text, you will have a new understanding of CSS reset.
Original article address:Http://perishablepress.com/press/2007
Now we need to design the layout. Like the traditional method, you must first have a rough idea of the outline in your mind, and then use Photoshop to draw it out. You may see that most websites related to web standards are simple, because web
DIV + CSS layout example: TAB sliding door Label Switching Code TAB ① TAB ② TAB ③ TAB ④ · pretty a fresh and frequently-used CSS color layout example · CSS corner with background image div layer · layer expansion and layer
"executed statement"
Ite: less than or equal to means less than or equal to IE6 browser. It is used for condition comments of IE browser and is often used for CSShack and JS for IE.
The following situations are not verified.
1. All except
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