We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

CheckBoxList - how do I remove gap created by TBODY?

Member_4438002
on
Medium Priority
502 Views
Last Modified: 2012-05-11
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
|---------
|
Comment
Watch Question

Commented:
Try playing with the padding and spacing attributes.
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.