D
dancer
Using ASP.net 1.1
I have sliced an image in Photoshop, saved it as html code, pasted the code
into my asp.net file, then added onmouseover and onmouse out code.
All the slices line up horizontally perfectly. Some of the slices line up
vertically perfectly. But some have too much space between the rows. I can
change the row height to INCREASE the space, but cannot decrease the space.
Here is sample code.
Any ideas?? Can anybody find something I'm missing??
<TABLE WIDTH=120 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<tr>
<td>
<IMG SRC="http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Red_01.jpg"
WIDTH=120 HEIGHT=15 ALT="">
</td>
</tr>
<tr>
<td><A
onmouseover="document.about.src='http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Green_02.jpg'"
onmouseout="document.about.src='http://www.xxxx.com/images/menu/pictures_aspx/sidebar_red_02.jpg'"
href="../about.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_02.jpg"
name = about WIDTH=120 HEIGHT=46 border="0" ALT=""></TD></A>
</tr>
<tr>
<td>
<A
onmouseover="document.products.src='http://www.xxxxx.com/images/menu/pictures_aspx/sidebar_Green_03.jpg'"
onmouseout="document.products.src='http://www.xxxxx.com/images/menu/pictures_aspx/sidebar_Red_03.jpg'"
href="../products.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_03.jpg"
WIDTH=120 HEIGHT=44 border="0" ALT="" name=products>
</td></tr>
<tr><td>
<A
onmouseover="document.distribution.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_04.jpg'"
onmouseout="document.distribution.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_04.jpg'"
href="../distribution.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_04.jpg"
name = distribution WIDTH=120 HEIGHT=50 ALT="" border="0">
</td></tr>
<tr><td>
<A
onmouseover="document.testimonials.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_05.jpg'"
onmouseout="document.testimonials.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_05.jpg'"
href="../testimonials.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_05.jpg"
WIDTH=120 HEIGHT=43 ALT="" name=testimonials border="0">
</td></tr>
<tr><td>
<A
onmouseover="document.news.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_06.jpg'"
onmouseout="document.news.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_06.jpg'"
href="../news.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_06.jpg"
name = news WIDTH=120 HEIGHT=39 ALT=""border = "0">
</td></tr>
<tr><td>
<A
onmouseover="document.contact.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_07.jpg'"
onmouseout="document.contact.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_07.jpg'"
href="../contact.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_07.jpg"
name= contact WIDTH=120 HEIGHT=45 ALT=""border="0">
</td></tr>
<tr><td>
<A
onmouseover="document.employment.src='http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Green_08.jpg'"
onmouseout="document.employment.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_red_08.jpg'"
href="../employment.htm">
<IMG SRC="http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Red_08.jpg"
name = employment WIDTH=120 HEIGHT="42" ALT="" border="0"></TD>
</tr>
<tr><td>
<A
onmouseover="document.home.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_09.jpg'"
onmouseout="document.home.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_red_09.jpg'"
href="../home.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_09.jpg"
name = home WIDTH=120 HEIGHT=56 ALT="" border="0">
</td> </tr>
</TABLE>
I have sliced an image in Photoshop, saved it as html code, pasted the code
into my asp.net file, then added onmouseover and onmouse out code.
All the slices line up horizontally perfectly. Some of the slices line up
vertically perfectly. But some have too much space between the rows. I can
change the row height to INCREASE the space, but cannot decrease the space.
Here is sample code.
Any ideas?? Can anybody find something I'm missing??
<TABLE WIDTH=120 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<tr>
<td>
<IMG SRC="http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Red_01.jpg"
WIDTH=120 HEIGHT=15 ALT="">
</td>
</tr>
<tr>
<td><A
onmouseover="document.about.src='http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Green_02.jpg'"
onmouseout="document.about.src='http://www.xxxx.com/images/menu/pictures_aspx/sidebar_red_02.jpg'"
href="../about.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_02.jpg"
name = about WIDTH=120 HEIGHT=46 border="0" ALT=""></TD></A>
</tr>
<tr>
<td>
<A
onmouseover="document.products.src='http://www.xxxxx.com/images/menu/pictures_aspx/sidebar_Green_03.jpg'"
onmouseout="document.products.src='http://www.xxxxx.com/images/menu/pictures_aspx/sidebar_Red_03.jpg'"
href="../products.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_03.jpg"
WIDTH=120 HEIGHT=44 border="0" ALT="" name=products>
</td></tr>
<tr><td>
<A
onmouseover="document.distribution.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_04.jpg'"
onmouseout="document.distribution.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_04.jpg'"
href="../distribution.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_04.jpg"
name = distribution WIDTH=120 HEIGHT=50 ALT="" border="0">
</td></tr>
<tr><td>
<A
onmouseover="document.testimonials.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_05.jpg'"
onmouseout="document.testimonials.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_05.jpg'"
href="../testimonials.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_05.jpg"
WIDTH=120 HEIGHT=43 ALT="" name=testimonials border="0">
</td></tr>
<tr><td>
<A
onmouseover="document.news.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_06.jpg'"
onmouseout="document.news.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_06.jpg'"
href="../news.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_06.jpg"
name = news WIDTH=120 HEIGHT=39 ALT=""border = "0">
</td></tr>
<tr><td>
<A
onmouseover="document.contact.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_07.jpg'"
onmouseout="document.contact.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_07.jpg'"
href="../contact.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_07.jpg"
name= contact WIDTH=120 HEIGHT=45 ALT=""border="0">
</td></tr>
<tr><td>
<A
onmouseover="document.employment.src='http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Green_08.jpg'"
onmouseout="document.employment.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_red_08.jpg'"
href="../employment.htm">
<IMG SRC="http://www.xxxx.com/images/menu/pictures_aspx/sidebar_Red_08.jpg"
name = employment WIDTH=120 HEIGHT="42" ALT="" border="0"></TD>
</tr>
<tr><td>
<A
onmouseover="document.home.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Green_09.jpg'"
onmouseout="document.home.src='http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_red_09.jpg'"
href="../home.htm">
<IMG
SRC="http://www.xxxxxx.com/images/menu/pictures_aspx/sidebar_Red_09.jpg"
name = home WIDTH=120 HEIGHT=56 ALT="" border="0">
</td> </tr>
</TABLE>