1. Why is the hover style unavailable after hyperlink access?The hyperlink style accessed by clicking is not having hover and active, and the solution is to change the order of CSS attributes: L-V-H-A
2. Double margin bug of IE6For example:The
Many pages have been written during this time.
Code Besides repeating some knowledge, I also learned some new things of CSS, maybe old things, But I still hope they will be useful to everyone.
In fact, there are many style applications for a in
1. Use CSS expression to determine the expression
2. Use the type selector in CSS
3. implemented using JavaScript scripts
4. If you use Microsoft Visual Studio 2005 or later, congratulations, you can also use skin.
The following describes
Code:
This effect works on both IE and Mozilla browsers, the Code is as follows This. Filters. Alpha. Opacity = 100 "onmouseout =" This. style. Required opacity = 0.5;This. Filters. Alpha. Opacity = 50 ">
In IE, you need to use "filter" to
I. Use CSS abbreviations
Using abbreviations can help reduce the size of your CSS file and make it easier to read. For the main rules of CSS abbreviations, see common CSS abbreviations syntax summary, which is not described here.Ii. Define the unit
Use CSS to achieve the effect of corner corners without an image background
to be booked
Gregorian calendar, December 1, August 15, 011
Lunar New Year August 15, 011
Friday
Groom Guo Jing
Bride Huang Rong
wedding ceremony
The following describes how to enable automatic paging during page printing:First, define the paging style:You can call the CSS style in the paging area as follows:Page 1 page 2 page 3Print it in IE.Note: JS calls the IE printing command: window.
CSS attribute priority analysis
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1/* tag # ID >#id> tag. Class>. Class> tag selector> wildcard */2 body {font-size: 10px ;}3 Div {font-size: 12px ;}4
Padding can be used in two ways:
Padding: 0px; indicates that all data is filled with 0px;
Padding-left: 10px; 10px on the left; similarly, padding-right, top, bottom;
Padding: 10px 20px 30px 40px; this is interesting: his order is top right
We have discussed the properties and attributes of operation elements. It is time to manipulate their CSS styles.
Class Name for adding or removing element sets
1. Use addclass () method
Addclass (names) adds one or more class names specified by
Filter description:ALPHA: sets the transparency level.Blur: Creates high-speed mobile effects, that is, blur effects.Chroma: Make special colors transparentDropshadow: Creates a fixed shadow of an object.Fliph: Create a horizontal ImageFlipv: Create
Example image: width: 197px Height: 87px
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
CSS cut image
Example image: width: 197px, height: 87px; Use clip to cut the word "google"
Recently, there was no problem with IE7-9 when making a Web page. However, the CSS style content is not loaded on the page in IE6, but the style has already been added. Why is IE6 not loaded?
I found this interesting reason. In IE6, comments in the/
1. Move the div css form text input:
In the text input column, if a prompt is added, visitors usually need to select and delete it with the mouse, and then enter useful information. In fact, as long as you add the onmouseover = "This. Focus ()"
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