Information Technology Reference
In-Depth Information
IV
The comments look like this:
/*
Arclite CSS design
last update: 17 july 2009
Author: digitalnature
http://digitalnature.ro/projects/arclite
The CSS, XHTML and design is released under GPL.
http://www.opensource.org/licenses/gpl-license.php
*/
Global Properties
This section sets some fonts for sections that aren't otherwise formatted. It also sets the standard
margin at zero.
/* global prop. */
*{
margin: 0;
padding: 0;
}
/* try to use custom fonts through css3 (opera 10+, safari 3.1+ and ff 3.5+) */
@font-face {
font-family: “Union”;
src: url(“fonts/union.ttf”) format(“truetype”);
}
@font-face {
font-family: “Share”;
src: url(“fonts/share.ttf”) format(“truetype”);
}
Common Elements
This section covers all the standard formatting issues: body text, headings, lists, tables, forms, and
so on.
Some highlights are as follows:
Links —Did you know you could change the color of your links? With CSS, you can:
/* links */
a{
Search WWH ::




Custom Search