WordPressだけではないが、cssにはmarginがあるのでR。
例えば、
1 | margin : 8px 0 ; |
とcss内に書いてあることがあるのでR。
今回はこれを知るのでR。
すると、ここに書いてあったのでR。
それによると、
marginは次のオーダー順があり、
T – Top
R – Right
B – Bottom
L – Left
となるのでR。
さらに、指定には、
margin: a; /*= a a a a*/
margin: a b; /*= a b a b*/
margin: a b c; /*= a b c b*/
margin: a b c d;/*= a b c d*/
/*Where a, b, c and d are values. Valid values consists of at least one digit
* and a unit, e.g.: 12px. 0 (zero) doesn’t require a unit */
とすればよいようでR。

(広告)月額900円(税抜)から、高速・多機能・高安定レンタルサーバー『エックスサーバー』

(広告)WordPressの運用に特化したレンタルサーバー『wpXレンタルサーバー』

(広告)年間920円(税抜)からの格安ドメイン取得サービス─ムームードメイン─

この記事をシェアできます。