Work With Style Sheets - BEA WebLogic User Manual

Mobility server
Hide thumbs Also See for WebLogic:
Table of Contents

Advertisement

Work with Style Sheets

This section describes:
What style sheets are and how they are used
The advantage of server side cascading style sheets (SSCSS) for delivering pages to PDAs
Examples of HTML style sheets
How to use SSCSS
Using the default style sheet
An example of SSCSS with the WebLogic Mobility Server sample news file
Introduction to Style Sheets
A style sheet is a simple mechanism for adding style (for example fonts, colors, spacing) to Web
documents.
The World Wide Web Consortium (W3C) has actively promoted the use of style sheets on the
Web since the Consortium was founded in 1994. The W3C has made several recommendations
including CSS1, CSS2, XPath, XSLT and XSL. CSS (Cascading Style Sheets) especially are
widely implemented in browsers.
By attaching style sheets to structured documents on the Web (for example HTML), content
authors and web developers can influence the presentation of documents without sacrificing
device-independence or adding new HTML tags.
Style sheets can be used to define the appearance of an entire site in a consistent way. With the
introduction of CSS, it is now recommended that layout-specific features in HTML be phased out
and replaced by style sheets.
Understand Cascading Style Sheets
Cascading Style Sheets (CSS) provide a means for web authors to separate the appearance of web
pages from the content of web pages. This means that the content of the web site should go into
your HTML files (or XHTML files or JSP pages), but these files should not describe how that
information is displayed. Information about how the pages should appear goes into CSS files. The
styles from this file that is given a .css extension are then applied server-side.
Part IV Presentation of Mobile Content
BEA WebLogic Mobility Server User Guide - 81

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Weblogic mobility server

Table of Contents