7.1

Table Of Contents
#menu li {
display: inline;
border-width: 1px 1px 0 1px;
border-color: #666666;
border-style: solid;
padding: 5px; l
line-height: 2em;
margin-right: 3px;
margin-left: 0;
background-image: url("images/btn-bg.gif");
background-repeat: repeat-x;
}
Styling the selected menu item
PrintShop Mail Web will add an additional class to the selected menu item. This allows the style for the selected menu item to
change to make it stand out. The color, font-weight, background color or background image can be used to create various
effects.
#menu li.selected a {
color: black;
}
The following code snippet shows how both the font color and background color of the selected item can be changed.
#menu li.selected a {
color: black;
background-color: <? generateSkinContrastColorHighLight(1.1); ?>;
}
Background
The <body> tag has two attributes to specify backgrounds. The background can be a color and/or an image. These attributes
can be added directly in the Template.php file (bgcolor and background) or to the Style.php file.
Adding a background image
Background-images can be used in most HTML elements - not just for the whole page (body) and can be used for simple but
effective results, such as rounded corners. Example:
body {
background-image: url("images/main-bg.gif");
}
Overview tables
Overview pages show tabular data (for example the Companies, Users and Publication Types pages). An overview table is
build using the table tag and follows the regular HTML <table> tag structure.
©2010 Objectif Lune Inc - 232 -