Change Formating of Bullets & Lists

Discussion in 'CSS' started by Mpor, Dec 24, 2009.

  1. #1
    Hi,

    I have uploaded a new WP theme to my site - howtobuy-online.com/how-to-buy-currency-online and I want to have the same space between the lines in the numbered lists as in the rest of the text.

    How can I do this?

    Thanks
     
    Mpor, Dec 24, 2009 IP
  2. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    replace this in your css file

     
    Wp-Mod.Com, Dec 24, 2009 IP
  3. Mpor

    Mpor Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you it worked - but now the numbers are too far to the left so they are not even in the page - how can I move it a little to the right? Which parameter do I change?

    Thank you
     
    Mpor, Dec 25, 2009 IP
  4. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try changing this
     
    Wp-Mod.Com, Dec 25, 2009 IP
  5. Mpor

    Mpor Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes thank you!
     
    Mpor, Dec 25, 2009 IP
  6. opuschamber

    opuschamber Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hi wp mod.

    I see ... the content will be 600 px width and has the 20px left margin isnt it ?
    oh by the way we should specify the width because :we use : << float left ?

    Thanks
     
    opuschamber, Jan 5, 2010 IP
  7. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No, #content will be 680 (the original 660 + 20padding) as there is no margin.

    The thing is, padidng's like fat so the stuff inside #content won't be 680px wide... just like the organs of a fat person don't stretch from their right side to their left side. Padding doesn't increase the inner space, but it increases the outside edge of a box, like a fat person getting fatter makes them wider but doesn't give them more room inside for internal organs.


    It used to be required that floats have a declared width. This is no longer true with current CSS but it's a good idea to do anyway 99% of the time.

    A widthless float will by default shrink-wrap to the width of the content inside... but if the content inside is something that can shrink and grow like text (since text can wrap to the next line) browsers will act differently without a stated width, and won't necessarily have the box be the same width. IE may wrap too early, or too late, compared to Firefox. So it's a good idea to put widths on your floats.
     
    Stomme poes, Jan 14, 2010 IP