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 5 of 5
  1. #1
    Regular Coder
    Join Date
    Dec 2010
    Location
    Australia
    Posts
    356
    Thanks
    143
    Thanked 0 Times in 0 Posts

    remove bullet indent - how?

    remove bullet indent - how?

    I've tried removing the padding and margin for ul but it hasn't worked.

    http://www.mathannotated.com/

    I want to get the blue square icon ("differentiation") right up against the left margin.

    (In case you're wondering why I'm including it as part of a one-member list, I'll be introducing another 20 odd icons and treating it as an inline horizontal list.)

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello ptrcao,
    Add this to your CSS - ul#icons {padding: 0;}
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    ptrcao (12-10-2010)

  • #3
    Regular Coder
    Join Date
    Dec 2010
    Location
    Australia
    Posts
    356
    Thanks
    143
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Excavator View Post
    Hello ptrcao,
    Add this to your CSS - ul#icons {padding: 0;}
    Thanks, it worked Mr Excavator!

    BTW, I already had

    Code:
    #icons ul{padding-left: 0px;}
    which didn't work. What was wrong with my original code here?

    Is #icons ul{...} not interchangable with ul#icons{...}?
    Or was it just a misapplication of padding-left?

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Quote Originally Posted by ptrcao View Post
    Thanks, it worked Mr Excavator!

    BTW, I already had

    Code:
    #icons ul{padding-left: 0px;}
    which didn't work. What was wrong with my original code here?

    Is #icons ul{...} not interchangable with ul#icons{...}?
    Or was it just a misapplication of padding-left?
    #icons ul is looking for an unordered list inside a div named #icons.
    ul#icons is referring to an unordered list named #icons.

    See the difference?
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    ptrcao (12-10-2010)

  • #5
    Regular Coder
    Join Date
    Dec 2010
    Location
    Australia
    Posts
    356
    Thanks
    143
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Excavator View Post
    #icons ul is looking for an unordered list inside a div named #icons.
    ul#icons is referring to an unordered list named #icons.

    See the difference?
    Thanks; you learn something new everyday.


  •  

    Posting Permissions

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