The Benefits of Using Cascading Style Sheets (CSS)

Discussion in 'CSS' started by pabin2009, Sep 15, 2009.

  1. #1
    The Benefits of Using Cascading Style Sheets (CSS)

    CSS will save you a great deal of time. When it comes to the Internet, there are really only two elements: Content and the way that content is presented. With HTML, we provide content, and define how that content will be presented within the HTML code. However, we are very limited as to what we can do with HTML.

    Each browser is different and they see things differently. This is why webmasters are instructed from the very beginning to view their web pages in many different browsers, such as Internet Explorer, Netscape, Firefox, and Opera (among many others), to make sure that their web pages appear as they intended and expected them to from one browser to another.

    Overall, the HTML code on the web page polices the content, and the CSS polices the HTML. This allows you to create web pages that are suitable for all browsers.

    One of the best benefits of using CSS within your web pages is the ease of updating your web pages. If you'd like to make a change to your design, instead of having to change hundreds of web pages on your site, you can make one simple change to the CSS file, and it will automatically update all of the pages on your web site. CSS enables you to do in seconds what would take hours to do in HTML.


    thank you
     
    pabin2009, Sep 15, 2009 IP
  2. indoforum

    indoforum Active Member

    Messages:
    493
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Pros and Cons of CSS

    Pros:

    * Allows you to control the layout of the entire site with one file.
    * Changes affect all documents at the same time.
    * Can eliminate redundant in-line styling (Font, Bold, Color, Images)
    * Provide multiple views of the same content for different types of users.

    Cons:

    * Older browsers may not be able to understand CSS.
    * CSS is not supported by every browser equally.

    In this case, the pros far outweigh the cons. In fact, if the site is designed in a specific way, older browsers will display the content much better (on average) than if the site were managed with tables.

    Sources
     
    indoforum, Sep 15, 2009 IP
  3. Masterful

    Masterful Well-Known Member

    Messages:
    1,653
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    140
    #3
    :confused:

    Come on, guys. Even I know this stuff.
     
    Masterful, Sep 15, 2009 IP
  4. Vivi

    Vivi Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Cannot understand what are you talking about.
     
    Vivi, Sep 15, 2009 IP