admin

CSS

重なる十順序を指定 [z-index]

z-index:重なる順序.sample{ z-index:2;}
CSS

絶対的な位置に固定配置 [position:fixed]

position:fixed(絶対位置であること示す)top:距離(上からの距離)bottom:距離(下からの距離)left:距離(左からの距離)right:距離(右からの距離)div{ position:fixed; top:50px; ...
CSS

相対的な位置に配置 [position:relative]

position:relative(絶対位置であること示す)top:距離(上からの距離)bottom:距離(下からの距離)left:距離(左からの距離)right:距離(右からの距離)div{ position:relative; top:...
CSS

絶対的な位置に配置 [position:absolute]

position:absolute(絶対位置であること示す)top:距離(上からの距離)bottom:距離(下からの距離)left:距離(左からの距離)right:距離(右からの距離)div{ position:absolute; top:...
CSS

回り込みを解除 [clear]

clear:どちら側を解除するかleft(左側を解除)right(右側を解除)both(両側を解除)none(解除しない).left{ clear:left;//左側を解除}.both{ clear:both;}
CSS

左右への回り込み配置 [float]

float:配置位置leftrightnone.left{ float:left;}
CSS

幅と高さの指定 [width height]

width:height:.sample1{ width:200px; height:150px;}幅200px高さ150pxで指定
CSS

枠線をまとめて指定 [border]

border-top:上の線border-bottom:下の線border-left:左の線border-right:右の線border:.sample1{border:double 5px #ff9900;}.sample1{border...
CSS

枠線の形式指定 [border-style]

border-top-style:形式 上の線border-bottom-style:形式 下の線border-left-style:形式 左の線border-right-style:形式 右の線border-style:・形式noneso...
CSS

枠線の色を指定 [border-color]

border-top-color: 色指定(上の枠線の色)border-bottom-color: 色指定(下の枠線の色)border-left-color: 色指定(左の枠線の色)border-right-color: 色指定(右の枠線の...