fm250
asked on
Removing space between table rows
How do I remove the spaces between table rows, it seems that the image doesn't take all the td space?
--------------------
<table align="center" cellpadding="0" cellspacing="0" bgcolor="white" width="768">
<tr bgcolor="#FFF2BF" bordercolor="black" >
<td colspan="2" bgcolor="#FFFfff" ">
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/logo.jp g" />
</td>
</tr>
<tr bgcolor="#FFF2BF">
<td colspan="2" >
..........................
file is .aspx and have tried style="padding: 0px; margin: 0px" on td, tr, form and none worked. I have also tried width and hight 100% and px same as the picture hieght. thanks!
--------------------
<table align="center" cellpadding="0" cellspacing="0" bgcolor="white" width="768">
<tr bgcolor="#FFF2BF" bordercolor="black" >
<td colspan="2" bgcolor="#FFFfff" ">
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/logo.jp
</td>
</tr>
<tr bgcolor="#FFF2BF">
<td colspan="2" >
..........................
file is .aspx and have tried style="padding: 0px; margin: 0px" on td, tr, form and none worked. I have also tried width and hight 100% and px same as the picture hieght. thanks!
ASKER
how, where???
using css
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/logo.jp g" style="margin:0;border:0;" />
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/logo.jp
ASKER
I did tried that and did not work. any other suggestions! thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks! IE sees it as it is a space.
You need to remove the default margin from the image
Cheers
Steggs