Webcontrol Alignment problem

J

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
(e-mail address removed)
 
C

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.
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top