Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    5
    Member #
    19842
    Hey everyone,

    I have another question for you all!

    How do I decrease the margins between a bullet point and the edge of the container? The bullet point is pushing the text a little too far to the right and I want to decrease the margin to the left. I tried li, ul margin-left, but those didn't work. Any suggestions?

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    IE and Moz treat lists differently.

    For that reason, if you're going to change any values, you have to change them all.
    Code:
    ul, ol {
        margin: 6px 0; /* set the first number to your desired spacing top and bottom of your list */
        padding: 0 0 0 10px;  /* set the last number to your desired left padding value */
    }
    li {
        margin: 2px 0; /* set the first number to your desired spacing top and bottom of each list item */
        padding: 0 0 0 3px; /* set this to the desired spacing between the bullet and the text */
    }

  4. #3
    Junior Member
    Join Date
    Sep 2009
    Posts
    5
    Member #
    19842
    Works like a charm. Thank you so much!

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Sure thing!


Remove Ads

Posting Permissions

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

Search tags for this page

bullet points too far to left of page

,

del bullet point html

,

margin in bullet points

Click on a term to search for related topics.
All times are GMT -6. The time now is 04:28 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com