Difference between revisions of "CSS"

Line 1: Line 1:
'''Cascading Style Sheets''' ('''CSS''') is a powerful stylesheet language used on the [[World Wide Web|web]] to describe the presentation of documents written [[markup languages]] like [[HTML]] and [[XHTML]]. In modern web design, it's import to separate a document's content from its presentation, and CSS controls how documents are rendered.
+
'''Cascading Style Sheets (CSS)''' is a powerful stylesheet language used on the [[World Wide Web|web]] to describe the presentation of documents written [[markup language|markup languages]] like [[HTML]] and [[XHTML]]. Modern web design strives for a '''separation between content and presentation''', and CSS specifies presentation by controlling how a document is rendered.
  
 
One of the major benefits of designing with CSS is that the same style sheet(s) can be used by many different pages. This means that changes and updates to one style sheet file can have an instant effect on an entire [[website]].
 
One of the major benefits of designing with CSS is that the same style sheet(s) can be used by many different pages. This means that changes and updates to one style sheet file can have an instant effect on an entire [[website]].
Line 8: Line 8:
  
 
==Browser support==
 
==Browser support==
The [[W3C]] has published specifications for three major versions of CSS: CSS1, CSS2, and CSS3, with each higher version including additional features and functionality than the previous. However, [[web browsers]] have varying degrees of support for different CSS versions. Generally speaking,
+
The [[W3C]] has published specifications for three major versions of CSS: CSS1, CSS2, and CSS3, with each higher version including additional features and functionality over the previous. However, [[web browsers]] have varying degrees of support for different CSS versions. Generally speaking,
* [[Firefox]] and [[Opera]] both have excellent CSS1 and CSS2 support, and some CSS3 support.
+
* [[Firefox]], [[Opera]] and [[Safari]] all have excellent CSS1 and CSS2 support, and some CSS3 support.
* [[Internet Explorer]] supports most of CSS1, but incorrectly renders some things, and only supports a handful of CSS2 features.
+
* [[Internet Explorer]] supports most of CSS1, however it incorrectly renders some things, and only supports a handful of CSS2 features.
  
 
==External link==
 
==External link==

Revision as of 10:34, 25 October 2006

Cascading Style Sheets (CSS) is a powerful stylesheet language used on the web to describe the presentation of documents written markup languages like HTML and XHTML. Modern web design strives for a separation between content and presentation, and CSS specifies presentation by controlling how a document is rendered.

One of the major benefits of designing with CSS is that the same style sheet(s) can be used by many different pages. This means that changes and updates to one style sheet file can have an instant effect on an entire website.

At 鶹Ƶ

CSS is used extensively on pages which use the 鶹Ƶ Template.

Browser support

The W3C has published specifications for three major versions of CSS: CSS1, CSS2, and CSS3, with each higher version including additional features and functionality over the previous. However, web browsers have varying degrees of support for different CSS versions. Generally speaking,

  • Firefox, Opera and Safari all have excellent CSS1 and CSS2 support, and some CSS3 support.
  • Internet Explorer supports most of CSS1, however it incorrectly renders some things, and only supports a handful of CSS2 features.

External link

I still need help

Please e-mail web@gustavus.edu or stop by the Web Services office in Olin Hall 119.