Jump to content

turn off list style type


S@m

Recommended Posts

Sorry for the mass postings. :) I have a nested list that I am able to get everything working except my list-style-type.Here is my css for the list(s):

#leftNav ul ul {	width: 169px;	margin-top: -1px;	background: #fff;	border-top: 1px solid #82865f;	border-right: 1px solid #e6e6e6;	border-bottom: 1px solid #82865f;	border-left: 1px solid #82865f;	}#leftNav ul ul li {	width: 145px;	font-weight: bold;	margin-left: 5px;	padding: 2px 0 2px 8px;	list-style-image: url(../images/caret-black-right-02.gif);	border-right: 1px solid #ccc;	position: relative;	}	#leftNav ul ul li a {	display: block;	width: 136px;	font-weight: normal;	color: #369;	text-decoration: none;	padding: 2px 0 0 3px;	margin: -2px 0 0 6px;	background-color: #fff;	border-top: 1px solid #ccc;	border-right: 0;	border-bottom: 0;	border-left: 0;	list-style-image: none;	list-style-type: none;	}

HTML:

       <ul>          <li><a href="#">Item One</a>             <ul>              <li>Item Two</li>              <li><a href="#">Item One</a></li>              <li><a href="#">Item Two</a></li>            </ul>          </li>          <li><a href="#">Item Three</a></li>          <li><a href="#">Item Four</a></li>        </ul>

The problem is that I can't get "caret-black-right-02.gif" to turn off in the ul ul li a selector. There isn't a link on the ul ul li selector, so I need that the way it is.HERE is an example of what I am trying to do. (left nav)If there is a better way to do this, just say so. I'm just hung up on this.Thank you for your help!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...