Most of the styling information for ATG Store is stored in external .css
files that are loaded by the /includes/pageStart.jsp
file, which is included in every page on the site. Using these .css
files avoids the need for inline style definitions. (The email JSPs are an exception; they do contain styling information, because some email clients don’t have support for external .css
files.)
ATG Store uses the following CSS files:
/css/common_screen.css
-- The base CSS definitions for the site. This file is designed to work in all browsers that are standards compliant in their rendering of HTML and CSS./css/common_print.css
-- A very basic print style sheet./css/ie.css
-- This file addresses issues with CSS rendering on Microsoft Internet Explorer 6 and 7. It is included using Microsoft’s proprietary conditional comments tags, which means only Internet Explorer will load this file./css/javascript.css
-- This file is used for layouts that are dependent on JavaScript, such as show/hide behavior. These layouts override the layouts in/css/common_screen.css
that are used when JavaScript is disabled. The link to include/css/javascript.css
is written out using a JavaScriptdocument.write()
statement, which ensures that the file is loaded only if JavaScript is running.