Index

HOME > プログラムTOP > 資料集




CSSのプロパティ

 CSSの主なプロパティについて簡単にまとめています。IE6とNN7.x(Mozilla/Gecko)のいずれかが対応しているもののみを対象としています。FireFox の対応状況は NN7 とほぼ同じです。IE独自の拡張機能は掲載していません。順番は原則としてアルファベット順です。なお、仕様はCSS2を参考にしています。

sasaraan programming

Exposition

■主要プロパティ一覧 機能別インデックスへ)


プロパティ名機能 IENN MacOP
655 57x S5 7x
background背景の一括指定
background-attachment背景画像の固定方法
background-color背景色
background-image背景画像
background-position背景画像の位置
background-repeat背景画像の並べ方
border線の一括指定
border-top上線の一括指定
border-right右線の一括指定
border-bottom下線の一括指定
border-left左線の一括指定
border-color線色の一括指定
border-top-color上の線色
border-right-color右の線色
border-bottom-color下の線色
border-left-color左の線色
border-style線の種類の一括指定
border-top-style上の線の種類
border-right-style右の線の種類
border-bottom-style下の線の種類
border-left-style左の線の種類
border-width線の太さの一括指定
border-top-width上の線の太さ
border-right-width右の線の太さ
border-bottom-width下の線の太さ
border-left-width左の線の太さ
border-collapseテーブルのセルの線の表示法 ×
border-spacingテーブルのセルの線の間隔 ××××
bottom下からの距離
clear回り込みの解除方法
color前景色
cursorカーソルの種類
direction文字の表示方向 ××
display表示の形式
empty-cells空のセルの線の表示方法 ××××
float左右への回り込みの方法
fontフォントの一括指定
font-familyフォントの種類
font-sizeフォントの大きさ
font-styleフォントの傾き
font-variantスモールキャップ文字
font-weightフォントの太さ
height高さ
left左からの距離
letter-spacing文字の間隔
line-height行の高さ
list-styleリストのマークの一括指定
list-style-imageリストのマークの画像
list-style-positionリストのマークの位置
list-style-typeリストのマークの種類
marginマージンの一括指定
margin-top上マージン
margin-right右マージン
margin-bottom下マージン
margin-left左マージン
max-height最大高 ××××
max-width最大幅 ××××
min-height最小高 ××××
min-width最小幅 ××××
overflowはみ出す部分の表示方法
paddingパディングの一括指定
padding-top上パディング
padding-right右パディング
padding-bottom下パディング
padding-left左パディング
page-break-after改ページ・直後
page-break-before改ページ・直前
position位置の指定方法
right右からの距離
table-layoutテーブルの表示方法 ×
text-align行の揃え方
text-decoration下線・取消線・上線・点滅
text-indent一行目のインデント
text-transfrom大文字変換・小文字変換
top上からの距離
unicode-bidi文字方向の組込み・上書き ××
vertical-align縦方向の揃え方
visibility可視・不可視
white-space空白・タブ・改行の処理法 ×
width
word-spacing単語の間隔 ××
z-index重ねる順番
プロパティ名機能 655 57x S5 7x
IENN MacOP
◇機能 :: プロパティの機能
◇IE :: Internet Explorerの対応状況 / "6"=IE6.0, "55"=IE5.5, "5"=IE5.0
◇NN :: Netscape Navigatorの対応状況 / "7x"=NN7.x (Firefox は NN7 とほぼ同じです)
◇Mac :: マッキントッシュ用ブラウザの対応状況 / "S"=Safari, "5"=IE5
◇OP :: Operaの対応状況 / "7x"=Opera7.x

■CSSプロパティリファレンス

 CSSプロパティリファレンスで使われる項目の説明です。
●書式 / 設定値
記述の方法と設定できる値です。

●適用対象
適用の対象となる要素の種類です。
ブロックレベル
address / blockquote / center / div / dl / form / hr / h1 / h2 / h3 / h4 / h5 / h6 / ol / p / pre / table / ul
インライン
a / abbr / acronym / br / cite / code / dfn /em / *img / *input / kbd / label / *object / q / samp / *select / span / strong / *textarea / var
* ・・・ 置換要素

 「子要素への値の適用」では、値が子要素にも適用される場合は「あり」、適用されない場合は「なし」と表記しています。ただし、原則として継承されるのは絶対値となります。

●対応状況
各社のブラウザの対応状況をバージョンごとに表示しています。
IE6, IE5,5, IE5.0 ... Internet Explorer(Windows用)の各バージョン
NN7.x ... Netscape Navigator 7.x
Safari ... Safari
MacIE5 ... Internet Explorer(Mac用) 5.x
OP7.x ... Opera 7.x

マーク :: ○:対応, △:一部非対応, ×:非対応

各ブラウザとも、CSSの対応には不備が多く、環境や条件(バグ等)によっては機能しないことがありますのでご了承ください。

■機能別インデックスアルファベット順インデックスへ)


機能プロパティ
サイズ height, width, max-height, max-width, min-height, min-width
配置 top, right, bottom, left, clear, float, position, text-align, vertical-align, z-index
余白margin, margin-top, margin-right, margin-bottom, margin-left, padding, padding-top, padding-right, padding-bottom, padding-left
前景color
背景background, backgorund-attachment, background-color, background-image, background-position, background-repeat
ボーダーborder, border-top, border-right, border-bottom, border-left, border-color, border-top-color, border-right-color, border-bottom-color, border-left-color, border-style, border-top-style, border-right-style, border-bottom-style, border-left-style, border-width, border-top-width, border-right-wodth, border-bottom-width, border-left-width
フォント font, font-family, font-size, font-style, font-variant, font-weight, line-height, text-decoration, text-transform, letter-spacing, word-spacing
テーブル border-colapse, border-spacing, empty-cells, table-layout
リスト list-style, list-style-type, list-style-imag, list-style-positione
印刷page-break-before, page-break-after
表示 cursor, direction, display, overflow, text-indent, unicode-bidi, visibility, white-space

www.sasaraan.net

(c) morijoh