Cnblogs provides many blog interface templates that I personally don't like very much, so I just set up CSS on my blog homepage. If a friend thinks that my blog interface is good, you can use my style. Before using a custom style, you need to make
Webcredible lists a lot of syntactic tips on CSS usage, which is more practical. In the past, many things only know how to write them, but seldom consider why. It seems that CSS can do much more than you know.
1. Simplified CSS font definition
Updating ......
1. Some CSS styles are feasible in some webpages and cannot be implemented in some webpages.HtmlCode tag remove it.
2. There is a blue border problem when the image is hyperlinkFor example Solution: add the border = "0"
Jquery CSS Functions
CSS attributes
Description
vertex (selector).css (name, value)
set the style attribute value for the Matching Element
vertex (selector).css ({properties })
set
1. Functions of CSS
Separate documents from formats; better control of web page layout; smaller web page size
CSS uses the rule control page. The rule is divided into two parts: Selection and description. You can select any HTML Tag. The description
1. Basic syntax
The definition of CSS consists of three parts: selector, properties, and value ).
The basic format is as follows:
Selector {property: Value} (selector {property: Value })
The selector can be in multiple forms. Generally, You need to
I read that article on csdn a few days ago: 99% websites are outdated. A little touched. Haha.
I went to see some famous websites, which are really different. Haha.
Think about your own websites. According to this standard, every one is outdated
Detailed source reference: http://www.jb51.net/css/15987.html
During the tab switch today, we encountered a problem. IE8, IE7, and Firefox did not parse the PX height in a uniform way. We plan to start! Important solved the problem and later found
1. Tag Selector
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->a{display:none;}tr{font-size:10px;}
2. ID Selector
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.
Today, I encountered a very funny problem. When converting the static page designed by the artist to An ASPX page, the design page is displayed normally, but the format is incorrect during preview. Although this is a very simple problem, if you have
Your web site always contains several modules which navigated by a menu or something, just like this: forums | blog | photos. you may want each module has its own color style, so the users can recognize each module easily and your site also be cool.
Effect:
Main: I am the DIV with the package outside.
Col1 I'm the first column col2 I'm the second column clear-float; I used to clear float (clear float)
The following is a description:
CSS code:. Main {width: 800px;/* total width */Background: red
How to align a layer horizontally in a browser
Web Standard FAQ
Here we use the absolute percentage position, and the method of negative value of the external patch, the negative value is its own width and height divided by two
Another method
IE vs FF
Key Points of CSS compatibility:
Doctype affects CSS Processing
FF: When Div sets margin-left and margin-Right to auto, it is already centered, and IE is not working.
FF: When you set text-align for the body, you must set margin: auto
1. Organization issues
Problem: the IE value of any distance can be left with no unit. The FF value must be written in units (except 0)
Solution: Write All units such as padding: 0px;
2. horizontal centerProblem: For content in Div, ie is center by
Today, space woke up from anesthesia and expected a very beautiful update. After opening the update, it still looks the same.Ginseng is yellow, approaching Red, Red gives people a very extreme feeling. There is a degree in everything. Let yourself
☆Background-color)This attribute sets the background color for the HTML element, which is equivalent to the bgcolor attribute in HTML.Body {background-color: #99ff00 ;}The above Code indicates that the background color of the HTML element "body" is
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