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
|---------
|
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
|---------
|
Try playing with the padding and spacing attributes.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.