Home All Groups Group Topic Archive Search About
Author
11 Apr 2006 5:49 AM
Jeff Tolman
Initially I have a set of imagebuttons within a table <TD> element which I'm
using as "tabs" so there is no space between the bottom of the images and
the row underneath.  Since these imagebuttons ended up on many pages I
decided to make a webcontrol out of it.  So all I did was copy the
imagebutton HTML statements into the webcontrol and replaced the original
imagebuttons with the new webcontrol.  Unfortunately the bottom of the
imagebuttons (now in a webcontrol) have a small gap of white space between
them and the row below.  The table still has cellpadding and cellspacing set
to 0, so I'm not sure what's
on with this.

Any ideas?  Is this a bug?  I'm using the .NET Framework 1.1.

Thanks!

Jeff Tolman
jeff.tol***@enm.com

Author
16 Apr 2006 4:11 AM
Christopher Reed
Have you looked at the HTML source?  I would suspect that the user control
is probably contained within a <div> which is causing the extra white space.
If this is the case, you should be able to remove this extra space using a
stylesheet, probably changing the margins of the div.

The answer to your overall question is that it is not a bug.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

Show quoteHide quote
"Jeff Tolman" <jeff.tol***@enm.com> wrote in message
news:uX0DFvSXGHA.3660@TK2MSFTNGP04.phx.gbl...
> Initially I have a set of imagebuttons within a table <TD> element which
> I'm using as "tabs" so there is no space between the bottom of the images
> and the row underneath.  Since these imagebuttons ended up on many pages I
> decided to make a webcontrol out of it.  So all I did was copy the
> imagebutton HTML statements into the webcontrol and replaced the original
> imagebuttons with the new webcontrol.  Unfortunately the bottom of the
> imagebuttons (now in a webcontrol) have a small gap of white space between
> them and the row below.  The table still has cellpadding and cellspacing
> set to 0, so I'm not sure what's
> on with this.
>
> Any ideas?  Is this a bug?  I'm using the .NET Framework 1.1.
>
> Thanks!
>
> Jeff Tolman
> jeff.tol***@enm.com
>

Bookmark and Share