5.2. CSS
前一頁 | 章 5. * Stylesheets | 下一頁

## 5.2. CSS

Cascading Stylesheets (CSS) are a mechanism for attaching style information (font, weight, size, color, and so forth) to elements in an HTML document without abusing HTML to do so.

### 5.2.1. The Web site (HTML documents)

The FreeBSD web site does not currently use CSS. Unfortunately, the look and feel is constructed using abuses of HTML of varying degrees. This should be fixed, and would be a good project for someone looking to contribute to the documentation project.

### 5.2.2. The DocBook documents

The FreeBSD DSSSL stylesheets include a reference to a stylesheet, `docbook.css`, which is expected to appear in the same directory as the HTML files. The project-wide CSS file is copied from `doc/share/misc/docbook.css` when documents are converted to HTML, and is installed automatically.

前一頁 | 上一層 | 下一頁
章 5. * Stylesheets | 起始頁 | 章 6. Structuring documents under `doc/`

本文及其他文件，可由此下載： ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/。

若有 FreeBSD 方面疑問，請先閱讀 FreeBSD 相關文件，如不能解決的話，再洽詢 <questions@FreeBSD.org>。
關於本文件的問題，請洽詢 <doc@FreeBSD.org>。