Ziay Chat Forums

Ziay!

General Discussion Forum

Cascading Style Sheets

This is a discussion on Cascading Style Sheets within the General Chat forums, part of the Main Category category; What are the pros and cons for web developers when using CSS...





Go Back   Ziay Chat Forums > Main Category > General Chat

FAQ Members List Mark Forums Read
Old 06-08-2008, 08:16 PM   #1
Junior Member
 
Join Date: May 2008
Posts: 10

What are the pros and cons for web developers when using CSS
Q'Aminator is offline   Reply With Quote
Old 06-08-2008, 08:42 PM   #2
Junior Member
 
Join Date: Jun 2008
Posts: 1
Default

PRO: CSS is designed to allow the separation of presentation and structure. Font colors, background styles, element alignments, borders and sizes are moved into a stylesheet, resulting in considerably simpler HTML code. The HTML documents become much smaller and web browsers will usually cache sites' CSS stylesheets. This leads to a reduction in network traffic and noticeably quicker page downloads.<br />
<br />
CON: <br />
Naming can get confusing. For example, authors might associate the class name with desired presentational attributes; for example, a CSS class to be applied to emphasized text might be named "bigred," implying that it is rendered in a large red font. While such a choice of naming may be intuitive to the document author, it can cause problems if the author later decides that the emphasized text should instead be green; the author is left with a CSS class called "bigred" that describes something that is green. <br />
<br />
There are bugs in CSS that you need to work out when you need it to work across multiple browsers & platforms, and its harder to debug than with a simple HTML.
MrKnowledge is offline   Reply With Quote

Powered by vBulletin® Version 3.7.1