[WSG] Controlling the li gap?

2005-08-29 Thread Janelle Clemens
Is there anyway to control the space between the bullet and text of an li? Our designer is having issues with this and since I am in charge of creating the templates I need to find a workaround. Thanks, Janelle ** The discussion list for

Re: [WSG] Controlling the li gap?

2005-08-29 Thread Neal Watkins
Use padding example: ul li {padding-left: 5px;} that should helpcan use negative amounts Quoting Janelle Clemens [EMAIL PROTECTED]: Is there anyway to control the space between the bullet and text of an li? Our designer is having issues with this and since I am in charge of creating the

Re: [WSG] Controlling the li gap?

2005-08-29 Thread Kenny Graham
easiest (and as far as i know, the only non-proprietay way) of doing it is to use a non-repeating background image on the li instead of a bullet, and control the spacing from it with padding.

RE: [WSG] Controlling the li gap?

2005-08-29 Thread Janelle Clemens
@webstandardsgroup.org Subject: Re: [WSG] Controlling the li gap? Use padding example: ul li {padding-left: 5px;} that should helpcan use negative amounts Quoting Janelle Clemens [EMAIL PROTECTED]: Is there anyway to control the space between the bullet and text of an li? Our designer is having

Re: [WSG] Controlling the li gap?

2005-08-29 Thread Kenny Graham
you can have negative margins, but not negative padding. http://www.w3.org/TR/REC-CSS2/box.html#padding-properties Use padding example: ul li {padding-left: 5px;} that should helpcan use negative amounts

Re: [WSG] Controlling the li gap?

2005-08-29 Thread Kenny Graham
1) remove the bullet with list-style: none 2) create an image of a bullet 3) set that image as the background image (non-repeating) of the li 4) adjust left padding of the li to set distance from the fake bullet

RE: [WSG] Controlling the li gap?

2005-08-29 Thread Janelle Clemens
Thanks Kenny. That sounds like a good solution. I'll give that a try. :-) Janelle From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenny GrahamSent: Monday, August 29, 2005 2:26 PMTo: wsg@webstandardsgroup.orgSubject: Re: [WSG] Controlling the li gap? 1) remove the bullet