Link to home
Start Free TrialLog in
Avatar of Member_4438002
Member_4438002

asked on

CheckBoxList - how do I remove gap created by TBODY?

Hi,

I have a check box list control, and the way ASP.NET outputs the HTML for this is

<table>
  <tbody>
  </tbody>
</table>

This leaves a small line of empty space from where the table starts, and the tbody starts.  How do I remove this gap?  Or Top Align the tbody?


Here's an attempted display of what it looks like in a browser


<top of the table>
--------------------------------------------------------
|
| this is the gap I want to remove
<tbody begin>
--------------------------------------------------------
| rows & cells here
| --------
|rows & cells here
|---------
|
Avatar of Rick
Rick

Try playing with the padding and spacing attributes.
ASKER CERTIFIED SOLUTION
Avatar of DanielleFavreau
DanielleFavreau
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