Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to set leftmargin of LIST to zero 1

Status
Not open for further replies.

maharg

Technical User
Mar 21, 2002
184
Hi

I'm using a list for my main nav menu on my site
I'd like to have the list arrow left-justified to the edge of the <div> area.

My css is:

Code:
ol,ul {font-size: 11px;
font-family: verdana,helvetica,arial,sans-serif; 
color: rgb(30,30,30)
} 

div.menu
{background-color: #fafafe;
margin-left: 0px;
padding-left: 0px;
line-height: 25px;  
list-style-image: url('arrow.gif')
}

Can anyone tell me what I'm doing wrong?

Cheers,

Graham
 
Why are you setting list-style-image to your div instead of your ul? That might be a little confusing to the browsers. You may control position of the bullets with the padding-left on the ul element in question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top