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 3 of 3

Thread: Bullets problem

  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Bullets problem

    Well I am brand new to this, trying to learn HTML, and CSS.

    I am trying to make some links going horizontal, I can do this part, I used this code in my CSS
    Code:
    li
    {
    float:left;
    }
    But every time I use <li></li> on the links a bullet appears before them. How can I remove this?

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    list-style-type: none;
    Teed

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts
    Quote Originally Posted by Rashimana View Post
    But every time I use <li></li> on the links a bullet appears before them. How can I remove this?
    While teedoff's solution is perfectly fine, you may alternatively use display: block to kill the marker. Right now, the element apparently has display: list-item specified.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

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