Pages in osCommerce obtain their style-related information from the associated stylesheet entitled stylesheet.css
, found in the catalog
folder. Using stylesheets gives you excellent, fine-grained control over the appearance of your web pages, and even allows you to produce some great effects. The appearance of pretty much every aspect of the site can be controlled from here, and all that is needed is a little knowledge of fonts, colors, and stylesheet syntax.
Before we go any further, it will make life easier if you have a readymade list of the type of things you should look at setting using the stylesheet. The following is a list of the most common areas (defined by HTML elements) where stylesheets can be used to determine the look and feel of a site:
Background
Text
Font
Border
Margin
Padding
List
As well as being able to change all these aspects of HTML, you can also apply different effects depending on ‘whether or not’ conditions like a mouse cursor hovering...