You've implemented an HTML table with a fixed header in your project, but you've used very bloated code because you're actually drawing three of the same tables. By chance, I found a table with a fixed table header that was implemented purely with
Now most are using!important to hack, for IE6 and Firefox test can be normal display, but IE7 to!important can be correctly interpreted, will cause the page did not appear as required! Find a good hack way for IE7 is to use "*+html", now use IE7 to
Do not know since when start, on the network can see div+css everywhere, in the end what is DIV+CSS? Is it the legendary standard reconstruction? Is the standard not a reasonable use of XHTML tags from the simplest source? But why are there so many
Red color
Equal to
RGB (255,0,0)
Equal to
RGB (100%,0%,0%)
Equal to
#ff0000
Equal to
#f00
There are 17 predefined colors, which are:
Aqua, black, blue, fuchsia, gray, green, lime, maroon, navy,
Olive, orange, purple, red, silver, teal, white, and
This article is mainly written to improve the Web page in the client browser rendering speed of the CSS section, the provisional summary of 10.
1, *{} #jb51 *{} As far as possible to avoid
Because there are differences in the interpretation of
With a set of fixed widths as the basis, the two-column fixed width is very simple, we know that div for the identification of a certain area, and the layout of two columns, naturally need to use two div,xhtml code as follows:
Copy Code code
This article shared the bootstrap CSS layout of the image for your reference, the specific content as follows
img-rounded, Img-circle, img-thumbnail (zoom graph mode)
Source code
img {
vertical-align:middle;
}
. Img-responsive,
. Thumbnail >
When IE7 Beta1 launched, I tested it at the first time. It was a disappointment that there was little change in its support for CSS. MS has recently launched the IE7 Beta2, and this time there have been a lot of new improvements and changes. But
My MzTreeView1.0 tree control released so far, has received a lot of feedback, many netizens have given me a lot of pertinent suggestions, but also pointed out that the control of many bugs and deficiencies, so I am ready to write a new version of
When uploading files on the web, use the Upload box: this stuff is a very special object in IE (other occasionally not tested). If you write manually or other objects triggered by some event to fill the value , because of security
Simple introduction: CSS picture flattening (CSS sprites) can effectively reduce the number of HTTP connection requests for picture files. Multiple pictures will be merged into a large picture file at a certain distance. Elements in the page that
Cascade Priority is:
Browser defaults
The style sheet is also:
Class Selector
The derivation selector was previously called the context selector, so the complete cascade priority is:
Browser default
Sometimes in the process of writing CSS,
What does background mean, translation comes with a background meaning. Also in CSS as a member of the CSS property is also a background meaning, and is to set the background picture, background color, background image interception and other styles.
We often use ' margin:0 auto ' to achieve horizontal center, and always think ' margin:auto ' can not achieve vertical center ... In fact, achieving vertical centering requires only declaring element heights and the following CSS:
The
1, Display:inline-blockAllows an element to have properties of block elements (you can set width and height), and an inline element property (no line wrapping is generated).
2, ie in the Inline-blockIE6 does not support this property, but IE8 is
Brief tutorials
This is a fashion price list made with pure CSS3. The price list is laid out by bootstrap, with a flat style and a smooth transition of color when the mouse is over.
How to use
HTML structure
The basic HTML structure of the price
Perfect solution for div center! (Center horizontally and vertically)1. Use css for centering: The code is as follows:Copy code Position: fixed; left: 50%; top: 50%; margin-left: width/2; margin-top: height/2;For ie6, you can only change
Use CSS to write the effect of alternating colors on each row of the tableCSS is used to show the different colors of each row in a table. It is used to differentiate each row of data for easy reading. Some of them use the BUG of IE to add dynamic
The Background image Background Images has many attributes that can be operated.Fortunately, you can use background to process all: The code is as follows:Copy code Body {Background: white url (images/bg.gif) no-repeat top right;} The following
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