2011年3月18日金曜日

tableの属性cellspacing="0", cellpadding="0"をCSSで対応する

<table cellspacing="0" cellpadding="0">
 <tr>
  <th>見出し</th>
  <td>コンテンツ</td>
 </tr>
 <tr>
  <th>見出し</th>
  <td>コンテンツ</td>
 </tr>
</table>
  
<では無くて。。。CSSでやると ▼>
<style type="text/css">
table {
 border-collapse: collapse;
}
</style>

<table>
 <tr>
  <th>見出し</th>
  <td>コンテンツ</td>
 </tr>
 <tr>
  <th>見出し</th>
  <td>コンテンツ</td>
 </tr>
</table> 

2011年3月15日火曜日

dreamweaver テンプレート使い方


・テンプレート機能を使ってみよう 
パート1:「編集可能領域」と「オプション領域」の使い方

・ドリ、テンプレート関連まとめサイト
http://blog.cgfm.jp/garyu/archives/1198