Link to home
Start Free TrialLog in
Avatar of fm250
fm250Flag for United States of America

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.jpg" />
           </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!
Avatar of Mark Steggles
Mark Steggles
Flag of United States of America image

Hello,

You need to remove the default margin from the image

Cheers
Steggs
Avatar of fm250

ASKER

how, where???
using css

<asp:Image ID="Image1" runat="server" ImageUrl="~/images/logo.jpg" style="margin:0;border:0;" />
Avatar of fm250

ASKER

I did tried that and did not work. any other suggestions! thanks
ASKER CERTIFIED SOLUTION
Avatar of Mark Steggles
Mark Steggles
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fm250

ASKER

thanks! IE sees it as it is  a  space.