SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru etidd's Avatar
    Join Date
    May 2011
    Location
    atlanta, ga
    Posts
    626
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Question Trying to Tweak Drop Down Menu

    Hi everyone,

    I'm trying to put a list-style:circle or list-style:square to the <a> tags inside of my drop down div, but the list bullets always appear outside of the block! Why is that?

    I tried:
    Code:
    #pMenu li li{
            width:100%;
    	padding-top:2px;
    	padding-bottom:5px;
    	padding-left:4px;
    	text-align:left;
    	list-style:circle;
    }
    &
    Code:
    #pMenu div a{
            list-style:circle;
       /*other styles*/

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,616
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Try

    ul {list-style-position: inside;}

  3. #3
    SitePoint Guru etidd's Avatar
    Join Date
    May 2011
    Location
    atlanta, ga
    Posts
    626
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hmm, that didn't work. I added #pMenu ul{list-style-position:inside;} to the dropdownmenus.css file, and I also added ul{list-style-position:inside;} to the main.css file.


Tags for this Thread

Bookmarks

Posting Permissions

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