webbots in a div keep margins even when margin=0

G

Guest

I put two webbots in a Div (also tried them in two separate Divs, but got the
same results): There is margin white space from left edge to right edge
inbetween the top gif (740x90) and the bottom gif (740x17).

hed.htm contains the top gif -- 740x90
horizontalnavbar.htm contains the bottom gif -- 740x17

The Code in my MAINPAGE.htm is this:

<div id="header">
<!--webbot bot="Include" U-Include="include/hed.htm" TAG="BODY" -->
<!--webbot bot="Include" U-Include="include/horizontalnavbar.htm" TAG="BODY"
-->
</div>

In my stylesheet, the id (#header) is 740x107 with all margins at 0 (zero).

So....the total height for the two GIFs is 107 (90+17).

Question: Why the persistent white line margin between the top and bottom
GIFs?

Note: I also tried removing the "height: 107" altogether, or also changing
it to 106 and 105, but the white line still persists between the top and
bottom GIFs.

Note: This views fine, top & bottom GIFs flush together with no white line,
in FireFox. But only in IE the white line persists as though it's forcing a
2-pixel margin between the top and bottom GIFs.
 
T

Thomas A. Rowe

How are inserting the image into the pages that are being included?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
G

Guest

The images are inserted in the "include" files as follows:

Include file number 1:

<body topmargin="0" marginheight="0" marginwidth="0" leftmargin="0">
<a href="http://www.mywebsite.com">
<img src="hed-home.jpg" border="0" width="740" height="90">
</a>
</body>

Include file number 2:

<body topmargin="0" marginheight="0" marginwidth="0" leftmargin="0">
<a href="http://www.mywebsite.com">
<img src="nav-home.jpg" border="0" width="740" height="17">
</a>
</body>
 
T

Thomas A. Rowe

Insert each into a 1 row/column table with zero padding/spacing and make sure in HTML/Code view that
the </td> is on the same line as the </a> tag and see if that helps or post a URL to page with this
issue.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
G

Guest

It worked perfectly! Thanks!



Thomas A. Rowe said:
Insert each into a 1 row/column table with zero padding/spacing and make sure in HTML/Code view that
the </td> is on the same line as the </a> tag and see if that helps or post a URL to page with this
issue.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

You are welcome!

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

The margin settings in the actually include page have no impact on the page the include is being
included.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top