CSS
CSS(カスケーディングスタイルシート)とは、ウェブサイトの見栄えを設定する規格です。HTMLの各要素に対してCSSを施すことで、その要素の表現方法をコントロールできます。
W3C(WWW技術の標準化団体)によれば、HTMLは文書の構造を示す言語であるので、文書のデザインに関する表現は、すべてCSSで行うことが望ましいとされています。
CSSを利用することで、HTMLの要素のみでは表現できない細かい設定ができます。また、外部ファイルとしてCSSを用意することで、HTMLソースをすっきりさせることもできます。
用途別リファレンス
CSSサンプル
レイアウト
小技
プロパティリファレンス
A
| azimuth |
B
C
| caption-side | clear | clip |
| color | content | counter-increment |
| counter-repeat | cue | cue-after |
| cue-before | cursor |
D
| direction | display |
E
| elevation | empty-cells |
F
| filter | float | font |
| font-family | font-size | font-size-adjust |
| font-stretch | font-style | font-variant |
| font-weight |
H
| height |
L
| left | letter-spacing | line-height |
| list-style | list-style-image | list-style-position |
| list-style-type |
M
| margin | margin-left | margin-right |
| margin-top | marker-offset | marks |
| max-height | max-width | min-height |
| min-width |
O
| orphans | outline | outline-color |
| outline-style | outline-width | overflow |
P
| padding | padding-bottom | padding-left |
| padding-right | padding-top | page |
| page-break-after | page-break-before | page-break-inside |
| pause | pause-after | pause-before |
| pitch | pitch-range | play-during |
| position |
Q
| quotes |
R
| richness | right |
S
| size | speak | speak-header |
| speak-numeral | speak-punctuation | speech-rate |
| stress |
T
| table-layout | text-align | text-decoration |
| text-indent | text-shadow | text-transform |
| top |
U
| unicode-bidi |
V
| vertical-align | visibility | voice-family |
| volume |
W
| white-space | window | width |
| word-spacing |
Z
| z-index |
関連リンク
よく読まれている記事
- 右クリックメニューの表示が遅い【Information】
- 画像の一部にリンクを貼る(クリッカブルマップ【Dreamweaver】
- 一定時間でローテーションする広告【JavaScript】
- Dreamweaver【Dreamweaver】
- クリックした画像を拡大・縮小する【JavaScript】
UpDate:2010-3-12
