|
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL. CSS can be used locally by the readers of web pages to define colors, fonts, layout, and other aspects of document presentation. It is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation (written in CSS). |
| |
| Introduction |
| What is CSS? Cascading Style Sheet (CSS) is a way to control the look and feel of your HTML documents in an organized and efficient manne... |
| Syntax |
| CSS has a simple syntax, and uses a number of English keywords to specify the names of various style properties. A style sheet consists of a list of rules. ... |
| Internal CSS |
| Cascading Style Sheets come in three flavors: internal, external, and inline. We will cover internal and external, as they are the only flavors a designer sho... |
| External CSS |
| When using CSS it is preferable to keep the CSS separate from your HTML. Placing CSS in a separate file allows the web designer to completely differentiate be... |
| Inline CSS |
| Thus far, we have only shown you how to use CSS the way it was meant to be used -- separated from the HTML. However, it is possible to place CSS right in the ... |
| CSS Classes |
| You may be wondering if it is possible to give an HTML element multiple looks with CSS. Say for example that sometimes you want the font to be large and white... |
| CSS Background |
| CSS Background Properties The CSS background properties allow you to control the background co... |
| CSS Text |
| While CSS Font covers most of the traditional ways to format your text, CSS Text allows you to control the spacing, decoration, and alignment of your text. ... |
| CSS Font |
| CSS Font Properties The CSS font properties allow you to change the font family, boldness, si... |
| CSS Border |
| CSS Border, our personal favorite CSS attribute, allow you to completely customize the borders that appear around HTML elements. With HTML, it used to be impo... |
| CSS Outline |
| CSS Outline Properties An outline is a line that is drawn around elements, outside the border... |
| CSS Padding |
| With CSS Padding you will be able to change the default padding that appears inside various HTML elements (paragraphs, tables, etc). But first, let us make su... |
| CSS Margin |
| CSS Margin Properties The CSS margin properties define the space around elements. It is possible to use negative values to overlap conten... |
| CSS Lists |
| Lists come in two basic flavors: unordered and ordered. However, CSS allows for more list customization than HTML -- to the extent that even images can be use... |
| CSS Tables |
| The CSS table properties allow you to set the layout of a table. CSS Table Properties ... |
|
|