2.5.1.2.4. Use style sheets to control layout and presentation

Checkpoint 3.3

"When designing a document or series of documents, content developers should strive first to identify the desired structure for their documents before thinking about how the documents will be presented to the user. Distinguishing the structure of a document from how the content is presented offers a number of advantages, including improved accessibility, manageability, and portability. [...] The inverse holds as well: content developers should not use structural elements to achieve presentation effects." [12]

"The proper HTML elements should be used to mark up emphasis: EM and STRONG. The B and I elements should not be used; they are used to create a visual presentation effect. The EM and STRONG elements were designed to indicate structural emphasis that may be rendered in a variety of ways (font style changes, speech inflection changes, etc.)" [13]

"Content developers should use style sheets to style text rather than representing text in images. Using text instead of images means that the information will be available to a greater number of users (with speech synthesizers, braille displays, graphical displays, etc.). Using style sheets will also allow users to override author styles and change colors or fonts sizes more easily." [14]

"The following CSS2 properties can be used to control the formatting and position of text:

" [14]

"Layout, positioning, layering, and alignment should be done through style sheets (notably by using CSS floats and absolute positioning):

" [14]

Copyright © 2001-2003 by Rainer Hillebrand and Thomas Wierlemann