7.1

Table Of Contents
h1 {color: lime}
You can specify more than one property, the properties should be separated by a semicolon.
fieldset {
width: 70%;
margin-left: 1.25em;
}
Selectors can be grouped by separating each selector with a comma.
a:hover, a:visited, a:link{
color: black;
outline-style: none;
}
With the class selector you can define different styles for the same type of element. The class selector is defined using a point.
.totalprice {
font-weight: bold;
}
You can also define styles for HTML elements using the id selector. The id selector is defined as a # followed by the id.
#tableOverview td {
padding: 2px;
border-width: 0 0 1px 0;
border-color: black;
border-style: solid;
}
You can insert comments in CSS to explain your settings. Like HTML comments, CSS comments will be ignored by the
browser. A CSS comment begins with "/*", and ends with "*/".
/* Submenu and Search items start here */
#search, #submenu, #submenu1, #submenu2, #preview, #summary {
width: 100%;
}
/*
multi-line
comment here
*/
Style organization
The styles that come with PrintShop Mail Web are organized using the following structure:
l "Global styles" (page 225) (generic interface elements)
l "Page specific styles" (page 226) (exceptions)
l "Browser exceptions" (page 226)
©2010 Objectif Lune Inc - 224 -