All Safari web browsers use the Web Kit engine to display web pages. The Web Kit is an open source framework in Mac OS X that lets developers embed web browser functionality into applications. In providing this browser functionality, the Web Kit implements a number of extensions to HTML, CSS, and JavaScript. This document covers support of cascading style sheets (CSS) in the Web Kit.
You can use Cascading Style Sheets (CSS) in conjunction with HTML-based web content to fine tune the style of the content. The goal of this technology is to separate the structure of HTML from the style of CSS. Taking style information out of the structure allows designers to independently tune a page's style for a variety of audiences and readers (such as desktops, hand-held devices like iPhone, and text-based browsers).
You should read this document if you are creating web content for any version of Safari or any other Web Kit-based application such as Dashboard.
The following articles describe key aspects of Safari's CSS support:
“Explanation of Terms” explains terminology used in this reference.
“Supported CSS Properties” describes all of the CSS properties supported by Safari and provides information about which web standards (as defined by the World Wide Web Consortium, or W3C) include those properties, where applicable.
Last updated: 2008-06-09