PagodNaUtak
asked on
Remove white line between images
Hi! as shown in the image below, how can you remove the image below.
In visual studio designer it is the image is ok but when preview in web browser IE, it has white line between images...
In visual studio designer it is the image is ok but when preview in web browser IE, it has white line between images...
<div id="main" style="border: 1px solid #000000;width:570px; height:800px;">
<div id="banner" style="border:0px solid;">
<div id="divTopBanner">
<asp:Image ID="ImageTopBanner" runat="server" ImageUrl="~/images/topHeader.jpg" />
</div>
<div id="DivGenderBanner.png">
<asp:Image ID="ImageGenderBanner" runat="server" ImageUrl="~/images/top_male.png" />
</div>
<div id="DivRightBanner" style="position:absolute;left:430px;">
<asp:Image ID="ImageRightBanner" runat="server"
ImageUrl="~/images/rightHeader.jpg" ImageAlign="Right" />
</div>
</div>
<div id="contents" style="width:400px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
white-space-image.png
Check for any white spaces or in the code.
ASKER
Still the same:
<div id="main" style="border: 1px solid #000000;width:570px; height:800px;">
<div id="banner" style="border:0px solid;margin:0px;padding:0px;">
<div id="divTopBanner">
<asp:Image ID="ImageTopBanner" runat="server" ImageUrl="~/images/topHeader.jpg" />
</div>
<div id="DivGenderBanner.png">
<asp:Image ID="ImageGenderBanner" runat="server" ImageUrl="~/images/top_male.png" />
</div>
<div id="DivRightBanner" style="position:absolute;left:430px;">
<asp:Image ID="ImageRightBanner" runat="server"
ImageUrl="~/images/rightHeader.jpg" ImageAlign="Right" />
</div>
</div>
<div id="contents" style="width:400px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
ASKER
The code above is my latest code, but I still have the same error:
In the code above I do not see any white space.
Any more ideas?
In the code above I do not see any white space.
Any more ideas?
You could also put three images into a single <div> with <br />'s between them...
Espavo
Espavo
<div id="main" style="border: 1px solid #000000;width:570px; height:800px;">
<div id="banner" style="border:0px solid;">
<div id="divTopBanner">
<asp:Image ID="ImageTopBanner" runat="server" ImageUrl="~/images/topHeader.jpg" />
<br />
<asp:Image ID="ImageGenderBanner" runat="server" ImageUrl="~/images/top_male.png" />
<br />
<asp:Image ID="ImageRightBanner" runat="server"
ImageUrl="~/images/rightHeader.jpg" ImageAlign="Right" />
</div>
</div>
<div id="contents" style="width:400px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Espavo,
Thanks for the input but the code that you provide produces the same problem with bigger gap.
Anyone knows why this behavior?
Thanks for the input but the code that you provide produces the same problem with bigger gap.
Anyone knows why this behavior?
ASKER
Shinug,
Your code works, but whats the difference?
Your code works, but whats the difference?
Replace with this
<div id="banner" style="border:0px solid;margin:0px;padding:0
Hope this helps..