CSS succession of in-depth analysis (2)
Related Tags:
In CSS, the succession is a very unnatural act, we do not even need to consider whether this can be done, but also inherit their limitations.
First, some properties are not inherited. This is not for any reason, just because it is so set, the standard that is the reality. For example: Border attribute, we all know that border attribute set Element is the role of the border, it did not have inheritance. If the borders inherited property, the documents look will be very strange. For example, we have defined the borders containers div 1 px, in which the containers ul li under normal circumstances we do not want to frame it, if a succession of border, we would have to remove their borders. This is obviously unreasonable.
Most of the frame attributes, such as: Border (Borders), Padding (fill white), Margin (border), Background and so on, are not inherited nature.
At certain times of succession will cause some errors, for instance, the following definitions of the CSS:
body (color: blue)
This is the definition of the Color of the text in the Body of blue. If Body contains forms, in some browsers in addition to this form of definition will become the text of the blue, and the internal form of text color is not blue. Technically, this is not true, but it does exist. Therefore, we often need the help of certain skills, such as css will be defined as such:
Body, table, th, td (color: blue)
This form will become the text of the blue.
- CSS succession of in-depth analysis (1)
- Learning Flash: depth understanding setInterval method
- CSS priority of the in-depth analysis (2)
- CSS in-depth analysis of priority (1)
- CSS succession of in-depth analysis (2)
- Flash AS advanced knowledge: in-depth understanding of Function
- Flash AS Learning: Movie Clip Depth on the (depth) issues
- Flash ActionScript Learning: conditional statements in-depth study
- High-depth understanding of ActionScript skills
- CSS in-depth understanding of the display: inline-block attributes
- CSS succession of in-depth analysis (1)
- Mining depth IE browser window function
- JScript in-depth study grammar - constants and variables
- Depth understanding of the history and development of RSS
- CSS succession of in-depth analysis (3)
- Web design skills of the three standard layout depth
- Based on JMX notification framework for AJAX-depth development
- Depth CSS2.0 structure, return div, span the confusion!
- Heavy javascript function to achieve in-depth exploration
- CSS succession of in-depth analysis (2)
- AJAX-depth understanding of the treatment response information
- How to correctly understand _ root / _level / depth of the relationship
- CSS succession of in-depth analysis (3)
20 flash classic quiz

1. How music can be synchronized with sound and animation attributes set in a data stream format music! In the voice of output options in the choice of MP3, the bit rate of 16 kbps, for rapid quality. 2. Despite the size of the film set, but as long as the trailer ...
How to use Google to increase your site visits

Google has periodically announced new services designed to help Web site managers on site visit to the problem of excess data to help them capture or more network plug. Google's recent support of a service, through efforts to Wangchongmen to discover new content in the site ...
Flash Video Guide: Sports animation

Click here to watch full-screen tutorial <embed src=http://webjx.com/sucai/flashshipin/3_6.swf
pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'
type='application/x-shockwave-flash' width=560 height=413>...
"Ajax practicing the Road" sequence translator

"Ajax practicing the Road" Translator sequence Fighting in the long-term development of our frontline, a problem recently has been plagued by problems that users on the B / S structure of the user interface quite critical. Although we use th...
Making learning website: Frequently Asked Questions pages and control solutions

1, the fixed width of the form, if the imported English characters more than the total length of the width of the form, the form will hold, it is not Chinese. 2, download forms branches In the branches need to download the add <tbody>, and this may accelerat...