日記本文への、cssでのfont指定が効かなくなったので、ひたすら悩む。
キャッシュ削除。
それでも直らないのでシステムを検査させたらディスクエラー。で、修復させたけど直らず。悩んだあげく昔の設定を一部読み込んだら動く
何故?(^_^;
とりあえず今後の為に、font指定部分を切り貼りしておきます。
body,th,td { font-family: "Gill Sans", sans-serif; } li{ font-size: 95%; line-height: 1.2; font-weight: normal; letter-spacing: 0.02em; word-spacing: 0.5em; color: #334dcc; text-shadow: 2px 2px 0px #ffcccc ; font-family: "Gill Sans","HiraMaruProN-W4", sans-serif; } .section p { color: #000000; text-indent: 0em; letter-spacing: 0.02em; line-height: 1.4; word-spacing: 0.1em; font-family: "Gill Sans","Capanito","HiraMaruProN-W4", sans-serif; } blockquote { font-family: "Capanito", monospace; letter-spacing: normal; line-height: 1.2; text-shadow: 1px 1px 1px #ff9933; } q { font-weight: normal; font-size: 95%; color: #334dcc; letter-spacing: 0.05em; word-spacing: 0.05em: font-family: "Gill Sans","Capanito","HiraMaruProN-W4", sans-serif; text-shadow: 2px 2px 0px #ffcccc ; quotes: "“" "”" "‘" "’" ; } q:before { content: open-quote; } q:after { content: close-quote; } H2 { /* 日付付き タイトル マーク改造 font-weight: bold; */ font-weight: normal; letter-spacing: 0.1em; font-size: 90%; font-family: "Gill Sans","HiraMaruProN-W4", sans-serif; } /* 脚注*/ p.footnote { text-indent: 0em; letter-spacing: 0.05em; font-family: "Capanito", monospace; } /*キーワード リンクへの文字色変更の継承 */ a.keyword { color: inherit; } /* コメントへの名前 text-shadow: 2px 2px 1px #330000;*/ .comment .commentshort p .commentator { font-weight: bold; text-shadow:2px 2px 1px #999999; }
エラい掛かりました...半ばめげて、ヒラギノで調整し直してたりして。動いたから今度はキャパニトで調整し直し。文字間とか行間が、環境によっては妙に見えるかも知れません。m(_ _)m
追記。2011年2月20日に、上書きしてます。
フォント指定部分がファミリー名しか読んでなかったり、それによって等幅しか指定できなくなっていたりとかの仕様が見つかったので書き直してます。
“line-height: 1.4;”の部分は、書き直すかも知れません...文章の縦幅は大きい方が見やすいけど、“2”は、流石に大きすぎる?一般的には1.5らしい。
ボクは長文が多く、さらにサイズを95パーセント指定してるので1.4程度が、他での1.5程になるだろうと予想。