Break Dreamweaver8.0: CSS rules on conflict

Related Tags:

  Two or more css Rules applied to the same text, these rules may be in conflict and produce unexpected results.    Browser CSS according to the following rules apply: 

  •   If the two rules will be applied to the same text, the browser displays this all the attributes of the two rules, unless a particular attribute conflict.    For example, a rule may be designated for the text Color blue, while another may be designated by the rules of the text color is red. 
  •   If applied to the same rules of the two text attributes conflict, the browser displays the inside rules (from the text of the recent rules) attributes.    Therefore, if Waibuyangshibiao and in the form of text elements affecting, in the application form. 
  •   If there is a direct conflict, since the definition of CSS rules (using the class attribute of the application of the rules), will cover the properties of html tags in the form of attributes. 

  In the following example, the definition of style for the h1 all h1 paragraphs can specify the font, size and color, but applied to the paragraph custom CSS rules. Blue will cover h1 style in the color settings.    Another custom CSS rules. Red will cover. Blue because it. Blue style interior. 

  <h1> <span Class="Blue"> This paragraph is controlled by the. Blue custom style and h1 HTML tag style. <span Class="Red"> Except this sentence is controlled by the. Red style. </ Span> Now we're back to the. Blue style. </ span> </ h1> 

  Taoba new website on the line 


Related articles:

Flash to achieve the 3-D category (tutorial source files)
  Below Let me elaborate on these specific types of 3-D use.    Note, first of all, a guarantee that these types of documents and your fla subdirectory in the same document or in the publishing settings to the inside of the corresponding documents add, it will not be successful examp...
CSS Float principle explain (bilingual)
  This paper introduces the basic principles of CSS Float and behavioral characteristics, and describes various characteristics of Liu Float-Bugs.    If you are like most people, the whole issue of Floats is rather intimidating. The theory is difficult to grasp, and on top of that, ...
JavaScript Application examples: a statistical point of
  Ff not to default status    Opera9 test pass    Ie6 test pass    This is what used to statistical analysis to improve user habits site layout.    Play only read the small things, so many places not very satisfactory.    Save () method is...
CSS layout in the highly adaptive approach div
  A current collection methods, in the practical application of proven effectiveness, the use of attention to understanding the following analysis.    Html, body {...}{    Margin: 0px;    Height: 100%;    )    # Left {...}{    Ba...
Form two lines of alternating color display
  <table Id="main_table">  <tr>   <td Width="100"> a </ td>    <td Width="100"> b </ td>    </ Tr>  <tr>   <td Width="100"> a </ td>    &...