homepage Welcome to WebmasterWorld Guest from 54.163.72.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
CSS & <li>
the space
lorax




msg:1195012
 4:55 pm on Oct 24, 2002 (gmt 0)

I know I saw someone ask this question but I'll be damned if I can find it now that I need it!

I'm looking to control the space in between the bullet created by <li> and the beginning of the string.

 

vmcknight




msg:1195013
 5:10 pm on Oct 24, 2002 (gmt 0)

It was here:
[webmasterworld.com...]

I was asking the same question!

tedster




msg:1195014
 5:13 pm on Oct 24, 2002 (gmt 0)

<added>It sounds like this is a different quetion to me. You're asking about space between the bullet and the following text, right? Not spacing between the various list items</added>

If you're using the default bullet, that's something each browser does differently. You can have some control by using list-style-image:url(mybullet.gif) and creating your own custom bullet.

However, there are such cross-browser inconsistencies that the best bet when tight control is desired might be to avoid the built-in list function. You can get the exact effect you want by imitating a "true" list with a class for <p> or <div> which declares the exact indent you want, places the bullet and then follows it with exactly the amount of space you need.

lorax




msg:1195015
 5:25 pm on Oct 24, 2002 (gmt 0)

You're asking about space between the bullet and the following text, right? Not spacing between the various list items

Precisely.

<added>Would you still suggest making my own custom list using CSS?</added>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved