アプリ版:「スタンプのみでお礼する」機能のリリースについて

いつもお世話になります。

dreamweaverCS2でホームページを作っています。
2行1列のテーブル内のセルそれぞれに画像を配置しているのですが、
IE6で表示すると、行(画像)と行(画像)の間にスペース(白い)ができてしまい、
画像同士がくっつきません。
上の行にはイメージマップを使用しています。
なんとか画像をくっつけた状態で表示したいのですが、どこに問題があるでしょうか。
画像の大きさは上の行のものが742*69
下のものが742*18です。

ちなみにHTMLは下記のようになります。
また、Netscape7.1やsafariではくっついた状態で表示できます。
困っています。よろしくお願いします。

*****以下HTML************
<table border="0" cellpadding="0" cellspacing="0" width="742" >
<tr>
<td width="742" >
<img src="images/header1_1.gif" alt="" width="742" border="0" usemap="#hd1_Map" vspace="0"/>
<map name="hd1_Map"><area shape="rect" coords="260,50,366,65" href="index.html" alt="Homeへ" />
<area shape="rect" coords="367,50,475,65" href="about.html" alt="***について" />
<area shape="rect" coords="476,50,590,65" href="members.html" alt="****一覧" />
<area shape="rect" coords="591,50,700,65" href="syukketsu.html" alt="***" />
</map></td>
</tr>
<tr>
<td><img src="images/subnavibar1.gif" alt="" width="742" border="0" vspace="0" /></td>
</tr>
</table>
****ここまで****

A 回答 (1件)

<td width="742" >


<img src="images/header1_1.gif" alt="" width="742" border="0" usemap="#hd1_Map" vspace="0"/>
<map name="hd1_Map"><area shape="rect" coords="260,50,366,65" href="index.html" alt="Homeへ" />
<area shape="rect" coords="367,50,475,65" href="about.html" alt="***について" />
<area shape="rect" coords="476,50,590,65" href="members.html" alt="****一覧" />
<area shape="rect" coords="591,50,700,65" href="syukketsu.html" alt="***" />
</map></td>


これを↓のようにしたらどうなる?
<td width="742" >
<img src="images/header1_1.gif" alt="" width="742" border="0" usemap="#hd1_Map" vspace="0"/><
map name="hd1_Map"><area shape="rect" coords="260,50,366,65" href="index.html" alt="Homeへ" /><
area shape="rect" coords="367,50,475,65" href="about.html" alt="***について" /><
area shape="rect" coords="476,50,590,65" href="members.html" alt="****一覧" /><
area shape="rect" coords="591,50,700,65" href="syukketsu.html" alt="***" /><
/map></td>



http://www.google.com/search?q=html%20%E3%83%9B% …
    • good
    • 0
この回答へのお礼

早々のご回答ありがとうございます。
教えていただいたように改行をなくしたらできました!
ホワイトスペースについての参考URLもありがとうございます。
勉強になりました。

お礼日時:2008/07/10 09:18

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!