Go Back   Cloud Computing > General Discussion > General Discussion Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-05-07, 05:36
BOD Member
 
Join Date: Nov 2005
Location: New Mexico
Posts: 273
Default What are the pros and cons

What are the pros and cons for web developers when using CSS ?
Reply With Quote
  #2 (permalink)  
Old 11-05-07, 11:11
BOD Member
 
Join Date: Mar 2006
Location: Scotland
Posts: 201
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.



CON: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.



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.
Reply With Quote
  #3 (permalink)  
Old 11-05-07, 11:35
Moderator
 
Join Date: Oct 2005
Posts: 346
Default

Pros refers to perfect position of element in respect to the closest position. It also allows you to create HTML information in completely different way.

Cons - because the documents are not in a flow. Hence, it is relatively difficuly to line with other page sections. There are not such instruction on the positioning. There is also a possibility of overlapping and disruption in size.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 11:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.