2.2

PrintShop Web Skinning Guide | 19
CSS Syntax
The CSS syntax is made up of the following parts: a selector, a property and a value:
selector {property: value}
Normally the selector is the HTML element/tag you wish to style, the property is the attribute you wish
to change, and each property can take a value. A colon is used to separate the property and its value.
They are surrounded by curly braces, see the snippet below:
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;
}