Css ??

Discussion in 'XHTML/HTML/CSS' started by Indianseo, Jul 20, 2010.

  1. Indianseo Banned

    Member Since:
    Jul 15, 2010
    Message Count:
    30
    Likes Received:
    0
    Hi, all member's


    I want to know about "CSS", and CSS language actually i want to learn CSS so anyone just tell me that CSS is easy or Heard !


    Thanks in advance::D
  2. sazymi New Member

    Member Since:
    May 13, 2009
    Message Count:
    1,384
    Likes Received:
    57
    Occupation:
    SEO, SMO, Blogger
    Location:
    Los Angeles, CA
    Cascading Style Sheets are a very powerful tool for the Web site developer. They give you the chance to be completely consistent with the look and feel of your pages, while giving you much more control over the layout and design than straight HTML ever did. You can learn more at w3schools.
  3. aryans77 New Member

    Member Since:
    Oct 11, 2010
    Message Count:
    16
    Likes Received:
    0
    There are three ways of inserting a style sheet:

    • External style sheet
    • Internal style sheet
    • Inline styles
    An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the <head> section:
    <head>
    <link rel="stylesheet" type="text/css" href="mystyle.css" />
    </head>

    An internal style sheet can be used if one single document has a unique style. Internal styles are defined in the <head> section of an HTML page, by using the <style> tag, like this:
    <head>
    <style type="text/css">
    body {background-color:yellow}
    p {color:blue}
    </style>
    </head>

    An inline style can be used if a unique style is to be applied to one single occurrence of an element.
    To use inline styles, use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example below shows how to change the text color and the left margin of a paragraph:
    <p style="color:blue;margin-left:20px">This is a paragraph.</p>
  4. wsplsam New Member

    Member Since:
    Nov 30, 2009
    Message Count:
    3
    Likes Received:
    0
    CSS helps in modifying the formatting of a website within minutes as only one file is used for formatting so there is a need to edit one file not each and every webpage in a website....

Share This Page