Cascading Style Sheets Tutorial

Dreamweaver entry: Use CSS settings page format

  This article describes how to use Dreamweaver Cascading Style Sheets (CSS) set up in the pages of the text.    You can use CSS to HTML unable to provide ways to format your text and positioning of text, which can be more flexible control of the appearance of pages. 

  Understand CSS 

  Cascading Style Sheets (CSS) is a series of formatting rules, which control the appearance of Web page content.    Set up pages using CSS format, content and form of expression is separated from each other.    Page content (HTML code) at their own HTML document, the definition of the CSS code manifestations of the rules in another document (Waibuyangshibiao) or another part of HTML documents (usually a part).    Use CSS can be very flexible and to better control the appearance of pages, from the layout of precision positioning to a specific font and style, etc.. 

  CSS allows you to control many use only HTML beyond the control of the property.    For example, you can specify a different text for the selected font sizes and units (pixels, Kompong value, etc.).    Through the use of CSS to set up units to pixels as font size, can also ensure that in a number of browsers in a more coherent approach to page layout and appearance. 

  CSS formatting rules was composed of two parts: selector and declarations.    Selector is labelled formatting elements (such as P, H1, class name or ID) terminology, and the statement is used to define elements of the pattern.    In the following example, H1 is the choice, between the square brackets (()) between all the elements of the statement are: 

  H1 ( 

  Font-size: 16 pixels; 

  Font-family: Helvetica; 

  Font-weight: bold; 

  ) 

  Statement consists of two parts: attributes (such as font-family) and the value (such as Helvetica).    H1 tags for the above-mentioned examples created a style: the link to this form of the text of all H1 tags will be the size of 16 pixels and use Helvetica fonts and bold. 

  The term "stack" refers to the same elements of Web pages or the ability to use multiple forms.    For example, you can create a CSS rules to apply color, create another application of the rules of margins, both of which were then applied to a page in the same text.    By the definition of the style of "cascading" to your Web page elements, and ultimately you want to create the design. 

  The main advantage of CSS is easy to update as long as the one to update CSS rules, the pattern of the use of the definition of the format of all documents are automatically updated to the new style. 

  In Dreamweaver types can be defined the following rules: 

  Custom CSS rules (also known as the "style") so you can be applied to any style attributes of the text or text block.    All styles are like a period (.) Begins.    For example, you can create called. Red class format, and set up rules for the red color attributes, and then the pattern has been applied to the part of the paragraph style definition in the text. 

  HTML tags re-definition of specific labelling rules (such as p or h1) format.    Create or change h1 tags CSS rules, all set up with h1 label format will immediately update the text. 

  CSS selector rules (High Style) in combination define specific elements of the format, or other CSS allows for the choice of the form of the format (for example, whenever h2 title appear on the table within the cell, on the application of choice for td h2).    High style can also re-id attributes contain a specific definition of the label format (for example, from # myStyle definition can be applied to all styles include property / value pairs id = "myStyle" label). 

  Dreamweaver can be used to study the resources more information, please refer learning Dreamweaver. 

  Taoba new website on the line 


  •   Article 1: To CSS 
  •   No. 2: the creation of a new style sheet 
  •   No. 3: Additional style sheet 
  •   No. 4: "CSS style" panel 
  •   Article 5: the creation of a new CSS rules 
  •   Article 6: The type style applied to text 
  •   No. 7: Setting navigation provisions of this format 
  •   A total of seven.    1 2 3 4 5 6 7 8: 

    Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Digg
    • del.icio.us
    • Facebook
    • Google
    • DotNetKicks
    • DZone

    Tags: css entry, css language dreamweaver css

    Releated Posts

    • CSS primary entry: Connection Properties
    • CSS entry teaching 14 Q & A
    • CSS primary entry: Since the definition of categories
    • Dreamweaver automatically added in the first information and Css definition of the functional expression of conflict
    • ASP.NET AJAX entry Series

    This entry was posted on Friday, February 1st, 2008 at 12:00 am and is filed under CSS Tutorial. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

    « Web Design, from the beginning of CSS. I dedicated a contribution to the CSS
    PHP and CSS combination of the protection of e-mail addresses »

    Leave a Reply

    • Categories

      • CSS Properties (491)
      • CSS Tutorial (1154)
      • CSS Tutorial By Examples (1201)
      • Css+Div Web Design (3274)
      • Xhtml and Web Design (1797)
    • Archives

      • February 2008
      • January 2008
      • December 2007
      • November 2007
      • October 2007
      • September 2007
      • August 2007
      • July 2007
      • June 2007
      • May 2007
      • April 2007
      • March 2007
      • February 2007
      • January 2007
    • Pages

      • About us

    Cascading Style Sheets Tutorial