The idea is simple,
CodeIt is very concise and has good results. It is quite useful (this kind of advanced Dongdong IE is naturally unknown ).
Copy codeThe Code is as follows: * {outline: 2px dotted red}
** {Outline: 2px dotted green}
* **
Despite the vertical-align feature of CSS, it cannot effectively solve the vertical center problem of unknown height (in the case of text or images with unknown heights in a div label ).
Standard browsers such as Mozilla, opera, and safari .,
As the concept of Web Page standardization is deeply rooted in the hearts of the people, more and more websites adopt the CSS architecture. CSS architecture web pages not only comply with W3C standards, but also very beautiful. Standard Web pages
Common CSS layout Methods: float: None | left | right
Valid value:
None: default value. Objects are not float
Left: Right of the text flow object
Right: Left side of the text flow object
How does it work? Let's look at an example of one row and
Technically, websites built using W3C standards can be completely separated from the structure. For example, you can completely change your skin (performance, CSS) without moving the skeleton (structure, xhmtl) and muscle (behavior, JavaScript ).
With the accumulation of time, the content here will increase or be modified. I hope the following things will be helpful or useless to standard learners.
The main content is the differences between IE and Mozilla and the details that are easy to
Author: flyingbird from: Blue ideal
In web design, Font Processing cannot be emphasized. After all, web pages use to transmit information, and the most typical and direct method of information transmission is text. Therefore, understanding the
and are used to specify a style for the content or bind a script. Although most HTML elements can use style attributes to set style information, many HTML elements have their own default styles, which may be mixed or even conflicted with styles
This translation is not authorized by the author or website. All rights belong to the original author and the original website.
If you are authorized by the original author or the original published website, you can use this translation freely.
1
Source: http://blog.donews.com/dodo/archive/2005/06/18/434979.aspx
In the table layout design, the form usually uses two TD latd S. If no table is used, how can we do it with CSS? Take a look at the followingCode
name:
Email:
A: No postion is set. Generally, the nested relationship is not set.
B: set relative only for external Div, which is usually nested.
C: set absolute only for the inner Div. The document contains the nested relationship. The inner DIV in the
1. CSS simplified font rules
When CSS is used to define the font, you may do the following:
Font-size: 1em;
Line-Height: 1.5em;
Font-weight: bold;
Font-style: italic;
Font-variant: Small-caps;
Font-family: verdana, Serif;
In fact, you can
How to center a divThe main style definition is as follows:
Body {text-align: center ;}# Center {margin-Right: auto; margin-left: auto ;}Note:
First, define text-align: center in the parent element. This means that the content in the parent
You may have realized that you can specify different styles for each one-click connection to create CSS tumble effects. These links include normal link (normal), access, flip, and activation. In addition, you may also know that the sequence of CSS
When IE7 beta1 was launched, I tested it for the first time. At that time, I was disappointed to find that its support for CSS had almost no changes. Ms recently launched IE7 beta2, which has made many new improvements and changes. However, these
CSS element Positioning
1. Position: static | no locationPosition: static is the default value for positioning all elements. It is generally not required unless there is a need to cancel the inheritance of other Positioning
Example:# Div-1
We all know that there are differences between browsers.XHTML + CSSThis was a headache for Web pages. A lot of skills are required to work under the influence of these differences,"HideCSS"Is a very important technique (or even the most important ).
Modify your style sheet and find the following section (generally at the beginning)
A {
Color: # 3399FF;
Font-weight: Normal;/* The font effect can be changed to bold or bold */
Text-decoration: none;/* underline effect: No underline */
}
A: hover {
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.