29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.1.9 Working with style sheets<br />

Style sheets can be created when you create the Web project, or they can be<br />

added later. It is a good idea to decide on the overall theme (color, fonts, etc.) for<br />

your Web application in the beginning and create the style sheet at the start of<br />

the development effort. Then as you create the HTML and JSP files, you can<br />

select that style sheet to ensure that the look of the Web pages will be consistent.<br />

Style sheets are commonly kept in the Web Content/theme folder.<br />

Style sheets can be created when the Web project is created (see 4.3.2,<br />

“Creating a Web project” on page 66) or at any time using File -> New -> Other<br />

-> Web -> CSS File from the toolbar. To work with a style sheet, you open it as<br />

you would any other file. A special editor called the CSS Designer will be used to<br />

open the file.<br />

Figure 5-24 shows the default style sheet, called blue.css, that is added to Web<br />

projects when they are created. You will find it under the Web Content/theme<br />

folder.<br />

Figure 5-24 blue.css<br />

120 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!