Many of my friends told me that she/he has code cleanliness, that is, she/he is never willing to add additional tags if she/he writes XHTML ). For a simple example, I believe many people have seen this in many places: The code is as follows:Copy
CSS selector is the basis for CSS webpage layout. What are CSS selector and how to use it properly? There are three types of delimiters. Apart from the first type of HTML selector, we can name the other two types by ourselves. When naming them, note
Some time ago, the customer sent a website effect diagram. Because the customer is a graphic design engineer and has no experience in making webpages, the effect diagram uses a large number of gradient colors, and multiple layers overlap, as a
I was planning to write an article on the topic of this article, but I recently read this article in The Sina blog group, so I don't have to worry about it. I will repost it here to help you.Li {list-style-image: url (images/disc.gif );}This style
The final CSS style will overwrite all existing or conflicting styles defined earlier. For example, the following example:P {color: red; background: yellow}P {color: green}The above section will eventually display a green font with a yellow
To sum up the following five points, you can refer to it.1. Read/writeRead my recommended posts, websites, and blogs. The purpose of the Internet is to share and spread, and those who have a deep understanding and practice of the technology will
What are standards? You can understand it slowly.The core of the standard is the separation of content, performance, and behavior. This is a consensus.CSS is one of the most important standards.HTML eventually develops towards XML, so there should
I have read an article about the explanation of the IE version, and I can understand it. I 'd like to write it down. it is hard for me to understand that "CC" is short for "Conditional Comment? Please let me know. Thank you.The explain statement is
Advanced Learning: Combination and nesting of CSS selector in webpage styleCombinationYou do not have to repeat multiple delimiters with the same attributes. You only need to use commas (,) to separate the delimiters.For example, you have the
The methods for hiding input are different in the browser. We do not want it to change its inline attributes when using it on a webpage. The following is an independent analysis:First, write a public style: The code is as follows:Copy code Input
There are many advantages to using the XHTML + CSS architecture, but there are also some problems. Whether it is because I am not skilled or have unclear ideas, I will first write down some of my problems below, you can find it in other provinces.1.
I am doing the DIV layout code in this way. I don't know what to say, but I don't know what to say. Let's take a look.I divide the class into two types: layout class, style class, layout class is skeleton, style class is clothesFor example:For
Sometimes we may want internal links to display different styles, such as external links. I want to add a small icon next to the link to indicate that it is an external link and tell the visitors to confirm whether the link is opened in a new window
As many people write document structures and CSS in the project, and work with programmers, the name of the class and id needs to be unified. It took some time the day before yesterday to follow the habits of most people, the following common
We should develop good coding habits. The overall CSS layout declaration provides a way to simplify our code and improve the running efficiency. Let's list common forms and add explanations. The purpose of the overall layout declaration is to make a
■ Inheritance and layer stackCSS rules affect the display form of an element. If no style match exists or multiple style rules match the element at the same time, which rule does the display form follow? This section describes how to inherit and
Style selectorProperty selector p {color: red ;}Class selector. p {color: red ;}ID selector # p {color: red ;}II. transparentBackground: transparent; prevent definition Background from being overwritten3. Transparent background understanding of
I haven't written something seriously for a long time. Recently, some people have asked me some questions about DIV + CSS layout. In fact, it is still caused by lack of entry-level layout. So the next article will help you get started...There are
/* Mozilla.org Base Styles* Maintained by fantasai* (Classes defined in the Markup Guide-http://mozilla.org/contribute/writing/markup)*//* Suggested order:// Display attributes* Display* List-style* Position* Float* Clear// Attributes* Width* Height*
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