default_2007_diary.cssを次のように変更
#diary_content .bar3{
width: 10em;
padding-left : 7.5em;
text-indent : -7em;
}
を追加しました。
default_2007_diary.cssを次のように変更
#diary_content .bar3{
width: 10em;
padding-left : 7.5em;
text-indent : -7em;
}
を追加しました。
{
color: inherit;
}
{
/*¥*/
color: inherit;
/**/
}
html>body ~ {
property:value;
}
~~~{
property/**/:/**/value;
}
~~~{
property/**/:value;
}
html[xmlns] ~~~ {
property:value;
}
html[xmlns]>/**/body ~~~ {
property:value;
}
html>body ~~~{
font-size/**/:/**/xxx;
}
html[xmlns]>/**/body ~~~{
font-size/**/:/**/xxx;
}
body{
text-align: center;
}
で、センタリングを行い
#plate{
text-align: left;
}
で、#plate要素(全体)の左揃えを行う
{ float: left;
width: 21em;
margin-left: 0;
margin-right: 1em;
margin-top: 0; }
{ float: right;
width: 21em;
margin-left: 1em;
margin-right: 1em;
margin-top: 0; }
p{ font-size: 83%;
width: 20em;
margin: 1.67em .3em;
text-indent: 0;
line-height: 1.17em;
font-family: sans-serif;}
@import "default_2007_01.css"
・
・
body{
width: 45em;
margin-top: 0;
background-color: #ffffff;
color: #000000;
text-align: center;
}
#plate{
text-align: left;
}
・
・
基本的な宣言
・
・
body{
/*width: 45em;*//*default_2007_01.cssで宣言済み*/
/*margin-top: 0;*//*default_2007_01.cssで宣言済み*/
margin-left: auto;
margin-right: auto;
padding: 0;/*opr body要素の余白を消す*/
font-size: small;
}
/* ieWin6.x and ieWin7の追加*/
/* replace ieWin5.x~6 with ieWin7. hide from ~ieWin6 */
html > body{
font-size: small;
/* replace ieWin7 with ieMac5.x. for ieMac5.x ¥*//*/
font-size: small;
/*End for ieMac5.x*/
}
/* replace ieWin7 & ieMac5.x with MOSe. hide from ieWin7 & ieMac5.x */
html[xmlns]>/**/body{
font-size: medium;
}
#layer1 {
width: 43em;
margin-left: auto;
margin-right: auto;
line-height: 140%;
}
/*ieWin6.x and ieWin7のdiary200ymmdd.html用に追加*/
#plate #mainContents #layer1{
font-size: 110%;
width: 96%;
}
/* hide from ~ieWin6*/
html > body #plate #mainContents #layer1{
font-size: 112%;
width: 94%;
/*for ieMac5.x ¥*//*/
font-size: 100%;
width: 100%;
/*end for ieMac5.x*/
}
/* hide from ~ieWin7*/
html[xmlns]>/**/body #plate #mainContents #layer1{
font-size: 99%;
width: 43em;
}
body{
margin: 0;
padding: 0;
background-color: #ffffff;
color: #000000;
font-size: small;
ここに、ieWin6.xに適用する値を書く
}
/* hide from ~ieWin6*/
html > body{
font-size: small;
ここに、ieWin7に適用する値を書く
/* for ieMac5.x ¥*//*/
font-size: medium;
ここに、ieMac5.xに適用する値を書く
/*end for ieMac5.x */
}
/* hide from ~ieWin7*/
html[xmlns]>/**/body{
font-size: medium;
ここに、MOSeに適用する値を書く
}