[http://creativecommons.org/licenses/by/3.0/]
This work is licensed under a CC
Attribution 3.0 Unported License [http://creativecommons.org/licenses/by/3.0/]
Cascading Stylesheets (CSS) have been designed as a language for better separating presentation-specific issues from the structuring of documents as provided by HTML. CSS uses a simple model of selectors and declarations. Selectors specify to which elements of a document a set of declarations (each being a value assigned to a property) apply; in addition there is a model of how property values are inherited and cascaded. The biggest limitation of CSS is that it cannot change the structure of the displayed document.
pollutedby layout information
<body id="css-zen-garden"> <div id="container"> <div id="intro"> <div id="pageHeader"> <h1><span>css Zen Garden</span></h1> <h2><span>The Beauty of <acronym title="Cascading Style Sheets">CSS</acronym> Design</span></h2> </div> <div id="quickSummary"> <p class="p1"><span>A demonstration of what can be accomplished visually through <acronym title="Cascading Style Sheets">CSS</acronym>-based design. Select any style sheet from the list to load it into this page.</span></p> <p class="p2"><span>Download the sample <a href="/zengarden-sample.html" title="This page's source HTML code, not to be modified.">html file</a> and <a href="/zengarden-sample.css" title="This page's sample CSS, the file you may modify.">css file</a></span></p> </div> <div id="preamble"> <h3><span>The Road to Enlightenment</span></h3> <p class="p1"><span>Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible <acronym title="Document Object Model">DOM</acronym>s, and broken <acronym title="Cascading Style Sheets">CSS</acronym> support.</span></p>
<head>
<title>CSS Usage</title>
<link rel="stylesheet" href="http://dret.net/dretnet.css" type="text/css"/>
<style type="text/css"> li { color : red } </style>
</head>
<body>
<p>some text in a paragraph..</p>
<ol>
<li>an ordered list's first item</li>
<li style=" text-decoration : underline ">and the second one</li>
</ol>staffand
facultyand
currentand
pastas classification
deprecated
quotes: q:before { content : open-quote }
table { display: table }
tr { display: table-row }
thead { display: table-header-group }
tbody { display: table-row-group }
tfoot { display: table-footer-group }
col { display: table-column }
colgroup { display: table-column-group }
td, th { display: table-cell }
caption { display: table-caption }| Automatic | Fixed | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|