スタイルシートで見出しをデザインする
11.スタイルシートで作る見出しへようこそ
11.のCSSとhtml
sample css ↓
.title11 {
border: 0px;
text-align: left;
background: #fff url(title.gif) no-repeat left center;
font-size: 15px;
color: #000;
border-bottom: 1px dotted #333;
padding: 8px 0px 0px 35px;
width: 400px;
height: 24px;}
h1タグにクラス指定 ↓
<h1 class="title11">ここへ文字</h1>
使用した画像