Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to trim the space that surrounding checkbox

    Hello
    is there any trick to eliminate this annoying space around the checkbox when say you place it in table or something
    and i try to align all the aliments to the right for example with all the elements there is no problem except the check box
    that keeps have this small space around it .

    thanks!

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    margin: 0;

    or maybe

    padding: 0;

    Try applying those CSS properties to it and see what happens.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Ames, IA, USA
    Posts
    373
    Thanks
    0
    Thanked 0 Times in 0 Posts
    While that will work for IE 5+, I don't think Netscape or Mozilla will pay attention to margin settings unless you float the element.
    Need more emoticons?
    Visit Catman's Private Stock


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •