Question

How to remove bullet from CSS menu list

Asked by: shawnzer

I have bullets showing up in menu and do not want this. The weird thing is it doesn't show up in IE7 but everything else it does. Ive had this problem before and finally after being told by people how to fix I thought I figured it out, but its not working for this menu.

The website im working on http://tinyurl.com/oacjrj  is in a template  with header a left center right  column i can work. I can edit anything within those columns.

Im using a premade menu so I am having trouble figuring out where to put list-style: none; . I ended up putting it in every list class and  it still shows the bullets. Im assuming it something simple I have missed again.

here are the style sheets

http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu-base.css
http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu-topbar.css
http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu-sidebar.css
http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu.js

<link rel="stylesheet" type="text/css" href="http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu-base.css" />
<link rel="stylesheet" type="text/css" href="http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu-topbar.css" />
<link rel="stylesheet" type="text/css" href="http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu-sidebar.css" />
 
<script type="text/javascript" src="http://www.shawnsdigitalworld.com/helenoliverirealty/ddlevelsfiles/ddlevelsmenu.js">
 
/***********************************************
* All Levels Navigational Menu- (c) Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
 
</script>
</head>
 
<body>
<div align"center" id="ddtopmenubar" class="solidblockmenu">
<ul>
<li><a href="http://www.helenoliverirealty.com">Home</a></li>
<li><a href="#" rel="ddsubmenu1">For Buyers</a></li>
<li><a href="#" rel="ddsubmenu2">For Sellers</a></li>
<li><a href="#" rel="ddsubmenu3">About us</a></li>
<li><a href="http://www.helenoliverirealty.com/Contact_Me/page_2268137.html" >Contact us</a></li>
</ul>
</div>
 
<script type="text/javascript">
ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar")
</script>
 
<!--HTML for the Drop Down Menus associated with Top Menu Bar-->
<!--They should be inserted OUTSIDE any element other than the BODY tag itself-->
<!--A good location would be the end of the page (right above "</BODY>")-->
 
<!--Top Drop Down For Buyers-->
 
 
<ul id="ddsubmenu1" class="ddsubmenustyle">
<li><a href="http://www.helenoliverirealty.com/Featured_Listings/page_2268132.html">Featured Listings</a></li>
<li><a href="http://www.helenoliverirealty.com/Buying/page_2268133.html">Buying</a></li>
<li><a href="http://www.helenoliverirealty.com/Home_Search/page_2268135.html">Home Search</a></li>
<li><a href="http://www.helenoliverirealty.com/Calculators/page_2268138.html">Calculators</a></li>
<li><a href="http://www.helenoliverirealty.com/Buying/page_2268133.html">For Buyers</a>
<li><a href="http://www.helenoliverirealty.com/Neighborhood/page_2268156.html">Neighborhood</a></li>
</ul>
 
 
<!--Top Drop Down For Seller HTML-->
 
<ul id="ddsubmenu2" class="ddsubmenustyle">
<li><a href="http://www.helenoliverirealty.com/Home_Evaluation/page_2268136.html">Home Evaluation</a></li>
<li><a href="http://www.helenoliverirealty.com/Selling/page_2268134.html">Selling</a></li>
<li><a href="http://www.helenoliverirealty.com/For_Sellers/page_2268143.html">For Sellers</a>
  <!--<ul> *Multi Sub Menu Example*
  <li><a href="#">Sub Item 3.1b</a></li>
  <li><a href="#">Sub Item 3.2b</a></li>
  <li><a href="#">Sub Item 3.3b</a></li>
  <li><a href="#">Sub Item 3.4b</a></li>
  </ul>-->
</li>
 
</ul>
 
<!--Top Drop Down About Us HTML-->
 
<ul id="ddsubmenu3" class="ddsubmenustyle">
<li><a href="http://www.helenoliverirealty.com/About_Me/page_2268161.html">Helen Oliveri Realty</a></li>
<li><a href="http://www.helenoliverirealty.com/Keller_Williams/page_2268130.html">Keller Williams Realty</a></li>
</ul>
</body>
</html>

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-09-15 at 12:15:29ID24734086
Tags

CSS

,

HTML

,

Web Development

Topics

Miscellaneous Web Development

,

Hypertext Markup Language (HTML)

Participating Experts
5
Points
500
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Bullets
    When I am making a list (i.e) (2) receptacles (4) duplex swithces (6) wall covering plates etc and then I try to "bullet" these items, it doesn't ask if I want to replace these numbers, it just automaticall...
  2. Bullets don't show in Browser
    I've inherited a intranet website that needs updating and I have very little experience. My predecessor set things up so that when I create a page, it includes a predeveloped header and footer. He also has some styles applied globally that I have no idea how to change (not th...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: SarasotaPosted on 2009-09-15 at 15:44:29ID: 25340366

I think this is due to your CSS syntax....if you're using what you put above, you need to use:

list-style-type: none;

 not list-style: none;

 

by: darkapplePosted on 2009-09-15 at 22:55:41ID: 25342288

list-style : none; is assigned to anchor element.

i suggest you put

li{
 list-style-type:none;
}

and it should work.

 

by: shawnzerPosted on 2009-09-16 at 08:09:09ID: 25346420

Ok I made the suggested changes and still no luck. list-style-type:none; is in pretty much every li. and I also added


li{
 list-style-type:none;
}

to all css style sheets

 

by: shawnzerPosted on 2009-09-16 at 08:13:50ID: 25346484

Here is the menu list class as far I know <ul id="ddsubmenu3" class="ddsubmenustyle">  So I would assume the class is ddsubmenustyle , and that would be where i  need to add the list-style-type: none;  Its there and is not working.

/* ######### Drop Down ULs CSS ######### */
 
.ddsubmenustyle, .ddsubmenustyle ul{ /*topmost and sub ULs, respectively*/
font: normal 13px Verdana;
margin: 0;
padding: 0;
position: absolute;
left: 0;
top: 0;
list-style-type: none;
background: white;
border: 1px solid black;
border-bottom-width: 0;
visibility: hidden;
z-index: 100;
}
 
 
.ddsubmenustyle li a{
display: block;
width: 160px; /*width of menu (not including side paddings)*/
color: black;
background-color: lightyellow;
text-decoration: none;
padding: 4px 5px;
border-bottom: 1px solid black;
list-style-type: none;
}
 
* html .ddsubmenustyle li{ /*IE6 CSS hack*/
display: inline-block;
width: 170px; /*width of menu (include side paddings of LI A*/
list-style-type: none;
}
 
.ddsubmenustyle li a:hover{
background-color: black;
color: white;
list-style-type: none;
}
 
li{
 list-style-type:none;
} 
/* ######### Neutral CSS  ######### */
 
.downarrowpointer{ /*CSS for "down" arrow image added to top menu items*/
padding-left: 4px;
border: 0;
 
}
 
.rightarrowpointer{ /*CSS for "right" arrow image added to drop down menu items*/
position: absolute;
padding-top: 3px;
left: 100px;
border: 0;
 
}
 
.ddiframeshim{
position: absolute;
z-index: 500;
background: transparent;
border-width: 0;
width: 0;
height: 0;
display: block;
list-style-type: none;
}
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:

Select allOpen in new window

 

by: shawnzerPosted on 2009-09-18 at 05:55:16ID: 25365408

Points raised

 

by: shawnzerPosted on 2009-09-21 at 07:02:22ID: 25382896

Anyone?

 

by: jason1178Posted on 2009-09-21 at 15:53:04ID: 25388407

Hi shawnzer,

There are references to list-style-types being set in global.css and that appears to be overriding your preferences.  Start looking on or about line 74.

There's a lot of duplication with all of the different CSS files you have here.  You may want to take some time and combine/simplify things.

 

by: KravimirPosted on 2009-09-21 at 15:56:08ID: 25388426

You gave the list-style-type declaration to ".ddsubmenustyle li a" which won't do anything and to "li" which is being overridden elsewhere.

Change

li{
 list-style-type:none;
}

to

.ddsubmenustyle li{
  list-style-type:none;
}

 

by: mreuringPosted on 2009-09-21 at 15:56:44ID: 25388430

Despite earlier experts claiming you had made a mistake in your css-definition, nothing is wrong with using list-style: none; In fact, that line of code is working perfectly. Unfortunately, in other css-code you're overruling your own definition by claiming:
ul li {
   list-style: square;
}

Since that is a more specific definition, it rules...

The offending code is in global.css on line 74. Probably it is needed for some other piece of the website to work. To make the styles for the menu's more significant I urge you to use the classname set for the menu's and use the supplied code-snippet. I also recommend installing a plugin like firebug (https://addons.mozilla.org/en-US/firefox/addon/1843) which allows you to inspect an element and see what css-code is affecting it, it took me only 30 seconds to figure out what was wrong with your page :)

Cheers,

 Martin

ul.ddsubmenustyle,
ul.ddsubmenustyle li {
 list-style: none;
}

                                              
1:
2:
3:
4:

Select allOpen in new window

 

by: shawnzerPosted on 2009-09-21 at 17:50:32ID: 25388958

Thanks finally got it.  Unfortunately since this website is template based I do not have access to the global.css file that was causing the problem.

 

by: jason1178Posted on 2009-09-21 at 18:06:43ID: 25389010

So the first correct answer gets no love?

 

by: shawnzerPosted on 2009-09-21 at 19:22:50ID: 25389188

while your statement was correct as others had stated I m not able to change the global.css since it is a template. Kravimiur and  mreu had statements that worked in my situation

 

by: jason1178Posted on 2009-09-21 at 19:25:35ID: 25389197

Fair enough.  Thanks for the explanation.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...