This link has been bookmarked by 27 people . It was first bookmarked on 11 Mar 2007, by someone privately.
-
23 Jun 09
-
15 Feb 08
-
09 Jul 07
-
04 Jul 07
-
16 Jun 07
-
15 Apr 07
-
22 Mar 07
-
21 Mar 07
-
20 Mar 07
-
-
CSSのテンプレートを作成する際に、必ず入れていて便利だと思うものを紹介します。body要素に指定する事に関してはいろいろなところで語られているので、ここでは他のテーマなどのCSSを見ていて便利と思って取り入れているものなど。それ以外で私が始めに設定しておくHTMLタグとその設定です。
-
-
18 Mar 07
-
13 Mar 07
-
12 Mar 07
-
11 Mar 07
-
CSS
h1,h2,h3,h4,h5,h6 { line-height:1.6; }
p,li,dt,dl { line-height:1.6; }
p { margin:0 0 1em 0; }
ul li { list-style-type:none; }
a img { border:0; }
a:link {
color:#078D00;
text-decoration:none;
}
a:visited {
color:#189B12;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
a:active {
color:#666;
}
blockquote{
margin-left:1em;
padding-left:1em;
border-left:2px solid #CCC;
color:#CCC;
}
pre{
width:100%;
padding:1em 0;
overflow:auto;
border-top:1px dotted #333;
border-bottom:1px dotted #333;
}
table{
width:100%;
border-spacing:2px;
margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }blockquoteとpreは、ブログに特有かと思います。それ以外は、一般的な内容を設定しておきます。
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.