Share on Facebook Share on Twitter Email
Answers.com

Style sheet

 
 

A master page layout used in document creation systems such as word processing, desktop publishing and the Web. The style sheet is a file that is used to store margins, tabs, fonts, headers, footers and other layout settings for a particular category of document. When a style sheet is selected, its format settings are applied to all the documents created under it, saving the page designer or programmer from redefining the same settings over and over again for each page. See Cascading Style Sheets, template and document.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Search unanswered questions...
Enter a word or phrase...
All Community Q&A Reference topics
Wikipedia: Style sheet (desktop publishing)
 

A Style sheet is a form of separation of presentation and content in desktop publishing programs that store and apply formatting to text.

Style sheets are a common feature in most popular desktop publishing and word processing programs, including Corel Ventura, Adobe InDesign, Scribus, PageMaker, QuarkXPress and Microsoft Word, though they may be referred to using slightly different terminology.

Individual styles are created by the user and may include a wide variety of commands that dictate how a selected portion of text is formatted:

In most programs with style sheets, there is a window or menu listing the style sheets the user has associated with the document. For example, a newspaper may have a style sheet for its story text called "Body copy" that sets the type at 10 point Nimrod with 11 point leading and justified alignment.

Most programs allow users to name their own styles. Usually easy-to-remember names are used that describe what the style is used for. Common names might include "headline," "subhead" and "byline."

To apply a style to a portion of text, most programs allow users to select the text with their mouse and then click on the desired style in the style sheet window. The program then applies the stored formatting instantly.

Style sheets help publications maintain consistency, so common elements such as story text, headlines and bylines always appear the same. Style sheets also help save time allowing a designer to click once rather than having to apply each element one at a time and risk using an incorrect value.

Finally, style sheets are also useful if a publication decides to make changes to a design - say, make the story text slightly smaller. A user with proper administrative access can make the change to the master style sheet and then "send" the revised style sheets to all users, so the change is automatically reflected.

Some programs split style sheets into two classes: Paragraph and Character.

Paragraph style sheets are applied to an entire paragraph while Character styles are applied to only a select number of characters. Character styles are useful when a user needs to format only a small portion of a paragraph. For example, a newspaper may publish lists of current movies by starting with the name of a movie in a bold, sans serif typeface. Then, without starting a new paragraph, the review starts in the standard story text format. In this case, the designer could highlight the movie title and select the appropriate character style to apply the formatting only to the title. The rest of the paragraph can then be styled independently.

More advanced layout programs allow users to format more complex paragraphs with a single paragraph style. Using our movie review example above, say the newspaper always places a colon after the movie title and runs 10 short movie reviews as one large story. In this case, the style could be programmed to apply the bold, sans serif typeface at the start of a new paragraph until it encounters a colon. After the colon, the style switches to the standard story text style. Therefore, the designer could highlight the entire collection and apply only one style that will automatically format the entire story without having to go through and apply separate character styles to each of the 10 reviews.


 
 

 

Copyrights:

Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2009 Computer Language Company Inc.  All rights reserved.  Read more
Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Style sheet (desktop publishing)" Read more

 

Mentioned in