473,804 Members | 3,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

White strip showing up between two imagemaps

I have two asp:ImageMaps in a table cell as follows:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<asp:ImageMap ID="mapBanner" runat="server" BorderWidth="0p x"
Height="82px" ImageUrl="../images/top_banner.jpg" Width="1000px"
style="margin:0 px;padding:0px; ">
<asp:RectangleH otSpot Left="125" Top="5" Right="200" Bottom="22"
NavigateUrl="ab out" AlternateText=" About AFBE" />
<asp:RectangleH otSpot Left="206" Top="5" Right="347" Bottom="22"
NavigateUrl="fo undation" AlternateText=" Foundation Scholarship" />
<asp:RectangleH otSpot Left="353" Top="5" Right="421" Bottom="22"
NavigateUrl="co ntact.asp" AlternateText=" Contact Us" />
<asp:RectangleH otSpot Left="425" Top="5" Right="511" Bottom="22"
NavigateUrl="af filiates" AlternateText=" Affiliate Login" />
<asp:RectangleH otSpot Left="857" Top="37" Right="896" Bottom="65"
NavigateUrl="" AlternateText=" English Version" />
<asp:RectangleH otSpot Left="902" Top="37" Right="940" Bottom="65"
NavigateUrl="es panol" AlternateText=" Spanish Version" />
<asp:RectangleH otSpot Left="946" Top="37" Right="984" Bottom="65"
NavigateUrl="fr ancis" AlternateText=" French Version" />
</asp:ImageMap>
<asp:ImageMap ID="mapNavBanne r" runat="server" Width="1000" Height="19"
BorderWidth="0" ImageUrl="../images/navigation.jpg"
style="margin:0 px;padding:0px; ">
<asp:RectangleH otSpot Left="7" Top="1" Right="188" Bottom="16"
NavigateUrl="ex posure" AlternateText=" National Exposure Service" />
<asp:RectangleH otSpot Left="203" Top="1" Right="323" Bottom="16"
NavigateUrl="at hletes" AlternateText=" Athlete Database" />
<asp:RectangleH otSpot Left="336" Top="1" Right="428" Bottom="16"
NavigateUrl="to urnaments" AlternateText=" Tournaments" />
<asp:RectangleH otSpot Left="442" Top="1" Right="555" Bottom="16"
NavigateUrl="su mmercamps" AlternateText=" Summer Camps" />
<asp:RectangleH otSpot Left="569" Top="1" Right="659" Bottom="16"
NavigateUrl="co aches" AlternateText=" For Coaches" />
<asp:RectangleH otSpot Left="673" Top="1" Right="858" Bottom="16"
NavigateUrl="op portunities" AlternateText=" Employment Opportunities" />
<asp:RectangleH otSpot Left="873" Top="1" Right="917" Bottom="16"
NavigateUrl="" AlternateText=" Home" />
</asp:ImageMap>
</td>
</tr>
</table>
I would expect the top/bottom of these to be touching each other, but there
is a white strip of empty space between them. Why is this? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/
Sep 22 '06 #1
4 1512
Remove all the height property and give it a shot.

"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:Ok******** ******@TK2MSFTN GP02.phx.gbl...
>I have two asp:ImageMaps in a table cell as follows:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<asp:ImageMap ID="mapBanner" runat="server" BorderWidth="0p x"
Height="82px" ImageUrl="../images/top_banner.jpg" Width="1000px"
style="margin:0 px;padding:0px; ">
<asp:RectangleH otSpot Left="125" Top="5" Right="200" Bottom="22"
NavigateUrl="ab out" AlternateText=" About AFBE" />
<asp:RectangleH otSpot Left="206" Top="5" Right="347" Bottom="22"
NavigateUrl="fo undation" AlternateText=" Foundation Scholarship" />
<asp:RectangleH otSpot Left="353" Top="5" Right="421" Bottom="22"
NavigateUrl="co ntact.asp" AlternateText=" Contact Us" />
<asp:RectangleH otSpot Left="425" Top="5" Right="511" Bottom="22"
NavigateUrl="af filiates" AlternateText=" Affiliate Login" />
<asp:RectangleH otSpot Left="857" Top="37" Right="896" Bottom="65"
NavigateUrl="" AlternateText=" English Version" />
<asp:RectangleH otSpot Left="902" Top="37" Right="940" Bottom="65"
NavigateUrl="es panol" AlternateText=" Spanish Version" />
<asp:RectangleH otSpot Left="946" Top="37" Right="984" Bottom="65"
NavigateUrl="fr ancis" AlternateText=" French Version" />
</asp:ImageMap>
<asp:ImageMap ID="mapNavBanne r" runat="server" Width="1000" Height="19"
BorderWidth="0" ImageUrl="../images/navigation.jpg"
style="margin:0 px;padding:0px; ">
<asp:RectangleH otSpot Left="7" Top="1" Right="188" Bottom="16"
NavigateUrl="ex posure" AlternateText=" National Exposure Service" />
<asp:RectangleH otSpot Left="203" Top="1" Right="323" Bottom="16"
NavigateUrl="at hletes" AlternateText=" Athlete Database" />
<asp:RectangleH otSpot Left="336" Top="1" Right="428" Bottom="16"
NavigateUrl="to urnaments" AlternateText=" Tournaments" />
<asp:RectangleH otSpot Left="442" Top="1" Right="555" Bottom="16"
NavigateUrl="su mmercamps" AlternateText=" Summer Camps" />
<asp:RectangleH otSpot Left="569" Top="1" Right="659" Bottom="16"
NavigateUrl="co aches" AlternateText=" For Coaches" />
<asp:RectangleH otSpot Left="673" Top="1" Right="858" Bottom="16"
NavigateUrl="op portunities" AlternateText=" Employment Opportunities" />
<asp:RectangleH otSpot Left="873" Top="1" Right="917" Bottom="16"
NavigateUrl="" AlternateText=" Home" />
</asp:ImageMap>
</td>
</tr>
</table>
I would expect the top/bottom of these to be touching each other, but
there is a white strip of empty space between them. Why is this? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

Sep 22 '06 #2
That did not make any difference. Any other ideas? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Baski" <ba***@aldensys .comwrote in message
news:Od******** ********@TK2MSF TNGP06.phx.gbl. ..
Remove all the height property and give it a shot.

"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:Ok******** ******@TK2MSFTN GP02.phx.gbl...
>>I have two asp:ImageMaps in a table cell as follows:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<asp:ImageMap ID="mapBanner" runat="server" BorderWidth="0p x"
Height="82px " ImageUrl="../images/top_banner.jpg" Width="1000px"
style="margin: 0px;padding:0px ;">
<asp:RectangleH otSpot Left="125" Top="5" Right="200" Bottom="22"
NavigateUrl="a bout" AlternateText=" About AFBE" />
<asp:RectangleH otSpot Left="206" Top="5" Right="347" Bottom="22"
NavigateUrl="f oundation" AlternateText=" Foundation Scholarship" />
<asp:RectangleH otSpot Left="353" Top="5" Right="421" Bottom="22"
NavigateUrl="c ontact.asp" AlternateText=" Contact Us" />
<asp:RectangleH otSpot Left="425" Top="5" Right="511" Bottom="22"
NavigateUrl="a ffiliates" AlternateText=" Affiliate Login" />
<asp:RectangleH otSpot Left="857" Top="37" Right="896" Bottom="65"
NavigateUrl= "" AlternateText=" English Version" />
<asp:RectangleH otSpot Left="902" Top="37" Right="940" Bottom="65"
NavigateUrl="e spanol" AlternateText=" Spanish Version" />
<asp:RectangleH otSpot Left="946" Top="37" Right="984" Bottom="65"
NavigateUrl="f rancis" AlternateText=" French Version" />
</asp:ImageMap>
<asp:ImageMap ID="mapNavBanne r" runat="server" Width="1000" Height="19"
BorderWidth="0 " ImageUrl="../images/navigation.jpg"
style="margin: 0px;padding:0px ;">
<asp:RectangleH otSpot Left="7" Top="1" Right="188" Bottom="16"
NavigateUrl="e xposure" AlternateText=" National Exposure Service" />
<asp:RectangleH otSpot Left="203" Top="1" Right="323" Bottom="16"
NavigateUrl="a thletes" AlternateText=" Athlete Database" />
<asp:RectangleH otSpot Left="336" Top="1" Right="428" Bottom="16"
NavigateUrl="t ournaments" AlternateText=" Tournaments" />
<asp:RectangleH otSpot Left="442" Top="1" Right="555" Bottom="16"
NavigateUrl="s ummercamps" AlternateText=" Summer Camps" />
<asp:RectangleH otSpot Left="569" Top="1" Right="659" Bottom="16"
NavigateUrl="c oaches" AlternateText=" For Coaches" />
<asp:RectangleH otSpot Left="673" Top="1" Right="858" Bottom="16"
NavigateUrl="o pportunities" AlternateText=" Employment Opportunities" />
<asp:RectangleH otSpot Left="873" Top="1" Right="917" Bottom="16"
NavigateUrl= "" AlternateText=" Home" />
</asp:ImageMap>
</td>
</tr>
</table>
I would expect the top/bottom of these to be touching each other, but
there is a white strip of empty space between them. Why is this? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/


Sep 22 '06 #3
Put each images in it's own row instead of one row. Set top rows valign to
bottom and bottom rows valign to top and see what happens.

"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:e4******** ******@TK2MSFTN GP04.phx.gbl...
That did not make any difference. Any other ideas? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Baski" <ba***@aldensys .comwrote in message
news:Od******** ********@TK2MSF TNGP06.phx.gbl. ..
>Remove all the height property and give it a shot.

"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:Ok******* *******@TK2MSFT NGP02.phx.gbl.. .
>>>I have two asp:ImageMaps in a table cell as follows:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<asp:ImageMap ID="mapBanner" runat="server" BorderWidth="0p x"
Height="82p x" ImageUrl="../images/top_banner.jpg" Width="1000px"
style="margin :0px;padding:0p x;">
<asp:RectangleH otSpot Left="125" Top="5" Right="200" Bottom="22"
NavigateUrl=" about" AlternateText=" About AFBE" />
<asp:RectangleH otSpot Left="206" Top="5" Right="347" Bottom="22"
NavigateUrl=" foundation" AlternateText=" Foundation Scholarship" />
<asp:RectangleH otSpot Left="353" Top="5" Right="421" Bottom="22"
NavigateUrl=" contact.asp" AlternateText=" Contact Us" />
<asp:RectangleH otSpot Left="425" Top="5" Right="511" Bottom="22"
NavigateUrl=" affiliates" AlternateText=" Affiliate Login" />
<asp:RectangleH otSpot Left="857" Top="37" Right="896" Bottom="65"
NavigateUrl=" " AlternateText=" English Version" />
<asp:RectangleH otSpot Left="902" Top="37" Right="940" Bottom="65"
NavigateUrl=" espanol" AlternateText=" Spanish Version" />
<asp:RectangleH otSpot Left="946" Top="37" Right="984" Bottom="65"
NavigateUrl=" francis" AlternateText=" French Version" />
</asp:ImageMap>
<asp:ImageMap ID="mapNavBanne r" runat="server" Width="1000"
Height="19" BorderWidth="0" ImageUrl="../images/navigation.jpg"
style="margin :0px;padding:0p x;">
<asp:RectangleH otSpot Left="7" Top="1" Right="188" Bottom="16"
NavigateUrl=" exposure" AlternateText=" National Exposure Service" />
<asp:RectangleH otSpot Left="203" Top="1" Right="323" Bottom="16"
NavigateUrl=" athletes" AlternateText=" Athlete Database" />
<asp:RectangleH otSpot Left="336" Top="1" Right="428" Bottom="16"
NavigateUrl=" tournaments" AlternateText=" Tournaments" />
<asp:RectangleH otSpot Left="442" Top="1" Right="555" Bottom="16"
NavigateUrl=" summercamps" AlternateText=" Summer Camps" />
<asp:RectangleH otSpot Left="569" Top="1" Right="659" Bottom="16"
NavigateUrl=" coaches" AlternateText=" For Coaches" />
<asp:RectangleH otSpot Left="673" Top="1" Right="858" Bottom="16"
NavigateUrl=" opportunities" AlternateText=" Employment Opportunities" />
<asp:RectangleH otSpot Left="873" Top="1" Right="917" Bottom="16"
NavigateUrl=" " AlternateText=" Home" />
</asp:ImageMap>
</td>
</tr>
</table>
I would expect the top/bottom of these to be touching each other, but
there is a white strip of empty space between them. Why is this? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/



Sep 22 '06 #4
That did not make any difference either. After experimenting with some code
in a *.html file to find something that works, I found that a <br/needs to
be output between the <imgand <maptags, so my output needs to be the
following tags to avoid the white strip:
<table>
<tr>
<td>
<img/><br/>
<map>
<area/>
</map>
<img/><br/>
<map>
<area/>
</map>
</td>
</tr>
</table>
However, this presents the problem of how to get ASP.NET to output the <br/>
tag. Because the <br/tag must be between the <img/and <maptags and
<asp:ImageMapca n only contain certain tags, I cannot figure out how to get
the <br/in the right place. What do I do? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Baski" <ba***@aldensys .comwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Put each images in it's own row instead of one row. Set top rows valign to
bottom and bottom rows valign to top and see what happens.

"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:e4******** ******@TK2MSFTN GP04.phx.gbl...
>That did not make any difference. Any other ideas? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"Baski" <ba***@aldensys .comwrote in message
news:Od******* *********@TK2MS FTNGP06.phx.gbl ...
>>Remove all the height property and give it a shot.

"Nathan Sokalski" <nj********@hot mail.comwrote in message
news:Ok****** ********@TK2MSF TNGP02.phx.gbl. ..
I have two asp:ImageMaps in a table cell as follows:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="center">
<asp:ImageMap ID="mapBanner" runat="server" BorderWidth="0p x"
Height="82px " ImageUrl="../images/top_banner.jpg" Width="1000px"
style="margi n:0px;padding:0 px;">
<asp:RectangleH otSpot Left="125" Top="5" Right="200" Bottom="22"
NavigateUrl= "about" AlternateText=" About AFBE" />
<asp:RectangleH otSpot Left="206" Top="5" Right="347" Bottom="22"
NavigateUrl= "foundation " AlternateText=" Foundation Scholarship" />
<asp:RectangleH otSpot Left="353" Top="5" Right="421" Bottom="22"
NavigateUrl= "contact.as p" AlternateText=" Contact Us" />
<asp:RectangleH otSpot Left="425" Top="5" Right="511" Bottom="22"
NavigateUrl= "affiliates " AlternateText=" Affiliate Login" />
<asp:RectangleH otSpot Left="857" Top="37" Right="896" Bottom="65"
NavigateUrl= "" AlternateText=" English Version" />
<asp:RectangleH otSpot Left="902" Top="37" Right="940" Bottom="65"
NavigateUrl= "espanol" AlternateText=" Spanish Version" />
<asp:RectangleH otSpot Left="946" Top="37" Right="984" Bottom="65"
NavigateUrl= "francis" AlternateText=" French Version" />
</asp:ImageMap>
<asp:ImageMap ID="mapNavBanne r" runat="server" Width="1000"
Height="19 " BorderWidth="0" ImageUrl="../images/navigation.jpg"
style="margi n:0px;padding:0 px;">
<asp:RectangleH otSpot Left="7" Top="1" Right="188" Bottom="16"
NavigateUrl= "exposure" AlternateText=" National Exposure Service" />
<asp:RectangleH otSpot Left="203" Top="1" Right="323" Bottom="16"
NavigateUrl= "athletes" AlternateText=" Athlete Database" />
<asp:RectangleH otSpot Left="336" Top="1" Right="428" Bottom="16"
NavigateUrl= "tournament s" AlternateText=" Tournaments" />
<asp:RectangleH otSpot Left="442" Top="1" Right="555" Bottom="16"
NavigateUrl= "summercamp s" AlternateText=" Summer Camps" />
<asp:RectangleH otSpot Left="569" Top="1" Right="659" Bottom="16"
NavigateUrl= "coaches" AlternateText=" For Coaches" />
<asp:RectangleH otSpot Left="673" Top="1" Right="858" Bottom="16"
NavigateUrl= "opportunit ies" AlternateText=" Employment Opportunities" />
<asp:RectangleH otSpot Left="873" Top="1" Right="917" Bottom="16"
NavigateUrl= "" AlternateText=" Home" />
</asp:ImageMap>
</td>
</tr>
</table>
I would expect the top/bottom of these to be touching each other, but
there is a white strip of empty space between them. Why is this?
Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/



Sep 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3333
by: qwweeeit | last post by:
Hi all, I need to limit as much as possible the lenght of a source line, stripping white spaces (except indentation). For example: .. . max_move and AC_RowStack.acceptsCards ( self, from_stack, cards ) must be reduced to: .. . max_move and AC_RowStack.acceptsCards(self,from_stack,cards) My solution has been (wrogly): ''.join(source_line.split())
6
16178
by: Grumble | last post by:
Hello all, I want to read lines from a text file, where each line has the following syntax: token1:token2:token3 There could be white space between tokens and ':'
2
2248
by: Malcolm Dew-Jones | last post by:
I am looking at xslt 1.0 and trying to understand if empty text nodes are supposed to be stripped or not as the default behaviour. 3.4 starts by listing rules for when white space is not stripped and then says "Otherwise the text node is stripped". which appears to contradict a later paragraph that discusses the details of the selection of nodes to be stripped ("Initially ... preserve ... all element names").
17
9134
by: Stanimir Stamenkov | last post by:
Is it possible to make two inline elements to appear adjacent stripping any white space appearing in between in the source? Example: <span class="adj">1</span> <span class="adj">2</span> <span class="adj">3</span> --
11
15021
by: gopal srinivasan | last post by:
Hi, I have a text like this - "This is a message containing tabs and white spaces" Now this text contains tabs and white spaces. I want remove the tabs and white spaces(if it more than once between two words). Is there any function we have in C which will find out the tabs and white spaces and returns the text in the follwong way -
3
3371
by: Prince | last post by:
I have some <RequiredFieldValidator> on my page and everything works fine except that there are lots of white spaces between the web server controls that are being validated. I've set the Display properties for all the controls to "Dynamic" and still I can't get rid of the white spaces between controls. It's as if there are bunch of <br> tags separating the controls. For example,the "HTML" look similar to this.
13
2710
by: Harlan Messinger | last post by:
What rules deal with attribute values with trailing spaces, or tags or attribute values with embedded newlines? Examples below: the HREF with embedded newline, the SRC with trailing spaces, and IMG tag spread over multiple lines. <a href="myself.html "> <img src="/images/picture.gif " width="80" height="65" alt="What, me worry?"></a>
3
11514
by: VK | last post by:
If it was already answered somewhere, I'll be glad to be pointed to (after the necessary comments on my search abilities :-) I need as booletproof as possible way to strip out whitespaces from between tag borders in the source code. 1) left border defined by gt sign > 2) right border defined by lt sign < 3) If the content between left and right borders consists only of white spaces it has to be removed.
4
1574
by: Nathan Sokalski | last post by:
I have two asp:ImageMaps in a table cell as follows: <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="center"> <asp:ImageMap ID="mapBanner" runat="server" BorderWidth="0px" Height="82px" ImageUrl="../images/top_banner.jpg" Width="1000px" style="margin:0px;padding:0px;"> <asp:RectangleHotSpot Left="125" Top="5" Right="200" Bottom="22"
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9587
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10588
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7623
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.