Chapter 26Style Sheets
Introduction
In early versions of browsers, web page authors had limited control over the page style. They could not, for example, specify the left margin for their pages. The World Wide Web Consortium (W3C) solved this problem by introducing standards for defining stylistic attributes for web pages. Cascading style sheets are now a common aspect of many web pages.
Using style sheets, you can specify many such attributes, ranging from text color, margins, and element alignments to font styles and sizes.
Netscape Communicator supports two types of style sheets: cascading style sheets (CSS) and JavaScript-accessible style sheets. The W3C has defined a set of properties and syntax for CSS, and its proposal is posted at http://www.w3.org/pub/WWW/TR/PR-CSS1 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access