faqts : Computers : Internet : Web : HTML : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

46 of 49 people (94%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

How do I reduce the space around a checkbox to tighten up a table?
How do I reduce the space around a checkbox to tighten up a table?

Apr 17th, 2002 09:14
Josh Gough, Ben Gordon, Bo Campbell, jsWalter,


You can use the CSS property margin:  to tighten the space between the 
checkbox & the text something like style="margin: -3px;" you can not 
however control the line height of a checkbox with HTML or CSS
You can also set display: inline. If you do the -3px margin, your 
checkbox will look wrong in NS6.