removing bullets from a list.....

Discussion in 'Web Design and Development' started by pelsar, Jul 10, 2011.

  1. pelsar macrumors regular

    Joined:
    Apr 29, 2008
    Location:
    israel
    #1
    http://www.lucidlogix.com/newsclips.html

    the list on top is an html vertical text scroller...and its has these tiny bullets on the left site that i cannot find...i believe they are being put there from the general sites CSS, but when i put "none" in the divs surrounding this scroller i get nada..they're still there.
     
  2. Yamcha macrumors 68000

    Joined:
    Mar 6, 2008
    #2
    Try this on the ul or li tag
    PHP:
    {list-style-type:none;}
    and it should remove the bullets.. an example would be :

    PHP:
    ul {list-style-type:none;}
    li {list-style-type:none;}
    Hope it works for you..
     
  3. pelsar thread starter macrumors regular

    Joined:
    Apr 29, 2008
    Location:
    israel
    #3
    nope...nothing there..i've always put them in the style sheets...where would i put them directly in the html code:

    this is the surrounding div: <div id="NewsTicker">
     
  4. emiljan macrumors 6502

    emiljan

    Joined:
    Jan 25, 2010
    Location:
    Michigan
    #4
    under your <title></title> tags open up a new stylesheet tag and place them like this.

    Code:
    <style type="text/css">
    ul {list-style-type:none;} 
    li {list-style-type:none;}  
    </style>
    
     
  5. pelsar thread starter macrumors regular

    Joined:
    Apr 29, 2008
    Location:
    israel
    #5
    this didnt work...did i put it in right?



    <title>about lucidlogix</title><link href="Lucid.css" rel="stylesheet" type="text/css" /><style type="text/css">


    ul {list-style-type:none;}
    li {list-style-type:none;}
    </style>


    its definitly part of the style sheet (lucid.css) one i remove that, the bullets are gone
     
  6. Darth.Titan macrumors 68030

    Darth.Titan

    Joined:
    Oct 31, 2007
    Location:
    Austin, TX
    #6
    You're probably suffering from an inheritance issue. Try this:
    In the stylesheet, change the
    PHP:
    #TickerVertical li {
    to
    PHP:
    #TickerVertical ul li {
    and see if that helps.

    BTW, you can remove the list-style-type from the div style. That won't do anything as list-style-type is not a valid attribute for the div tag.
     

Share This Page