7.1
Table Of Contents
- Table of Content
- Overview
- Understanding PrintShop Mail Web
- Getting Started
- The PrintShop Mail Web Interface
- Publishing Workflow
- Ordering Workflow
- New Document
- Order Manager
- Checkout
- Companies
- Users
- Publication Types
- Collections
- Settings
- About
- License
- Roles
- Languages
- Web Design
- Maintenance
- Settings
- Currencies
- Tax Rates
- Shipping Rates
- Calendar
- Production Settings
- User Input Field Defaults
- Output Folders
- Job options
- Printers
- E-mail Settings
- E-mail Addressees
- Managing E-mail Templates
- Modules Settings
- Enabling a MIS connector
- Installed modules
- Properties
- Enabling a Print Production connector
- Installed modules
- Properties
- Requirements
- Configuring the module
- The PayPal Sandbox
- Processing orders
- Requirements
- Configuring the Authorize.net module
- Test mode
- AVS and CCV checks
- Payment page
- Requirements
- Requesting a test account
- Configuring the iDEAL test dashboard
- Configuring the iDeal module
- Requirements
- Configuring the Moneris module
- Test mode
- Requesting a live account
- AVS and CVD checks
- Payment page
- Add a new Module
- Configure a module
- Delete a Module
- XML (eXtensible Markup Language)
- Options
- Sample POST receive script
- Interaction With PrintShop Mail Design
- Introduction to Regular Expressions
- Introduction
- Skinning Guide
- Getting started
- Creating your own skin
- The template file
- HMTL Outline
- Styling
- Key Concepts
- Style organization
- Header
- User information
- Menu bar
- Background
- Overview tables
- Edit forms
- Sub menus
- Special variables
- Variables for template files
- Variables for style files
- Creating page exceptions
- Creating a page specific template file
- Modifying a page specific template file
- DOM manipulation using jQuery
- Launching code on Document Ready
- Populating fields with computed values
- Removing elements from the DOM
- Adding information to the DOM
- Customizing the store front
- Storefront class
- Creating a hierarchical tree
- Adding a live search option
- Copyright Information
- Index
Styling
The style files hold the styling parameters for your skin. It defines the fonts, colors, borders, backgrounds, width and height
specifications of the user interface elements.
This section contains answers to the following questions:
l "Tags, IDs and classes" (page 223)
l "CSS Syntax" (page 223)
l "Style organization" (page 224)
Key Concepts
To apply styling to HTML elements, you should understand the following key concepts:
l "Tags, IDs and classes" (page 223)
l "CSS Syntax" (page 223)
Tags, IDs and classes
Each element on the page is rendered using standard HTML tags or by using <div> and <span> tags that have a unique iden-
tifier and/or a class.
IDs are used when there is only one occurrence on a page, classes are used when there are one or more occurrences on a
page. CSS IDs are similar to classes in that they define a special case for an element. In other words, they assign an identifier.
Standards specify that any given id name can only be defined once within a page or document.
You can reveal ID and class information by viewing the source of the web page or by using additional web developer browser
extensions. Your style files will need to refer to these elements to set their formatting.
<div id="fcCompanyNameLine">
<span id="fcCompanyNameLabel">Company name:
<span>*</span>
</span>
<span>
<input type="text" value="Oasis" name="fcCompanyName"
id="fcCompanyNameField"/>
</span>
</div>
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:
©2010 Objectif Lune Inc - 223 -