Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
stupid menu - help! <li> </li> problem
Old 01-16-2008, 05:40 PM stupid menu - help! <li> </li> problem
coldturkey's Avatar
Extreme Talker

Posts: 211
Name: Rachel
Location: Spain
Trades: 3
Okay so i have a css menu -but the <li> is making a
  • at the begining of the background image
CSS:
Code:
#menu2 {
 width: 175px;
 margin: 10px;
 border-style: solid solid none solid;
 border-color: #D8D5D1;
 border-size: 1px;
 border-width: 1px;
 }
 
#menu2 li a {
 height: 32px;
   voice-family: "\"}\""; 
   voice-family: inherit;
   height: 24px;
 text-decoration: none;
 } 
 
#menu2 li a:link, #menu2 li a:visited {
 color: #3688BA;
 display: block;
 background:  url(images/menubg1.gif);
 padding: 8px 0 0 30px;
 }
 
#menu2 li a:hover {
 color: #3688BA;
 background:  url(images/menubg2.gif) 0 -32px;
 padding: 8px 0 0 32px;
 }
And the HTML:
HTML Code:
<div id="menu2">
  <ul>
   <li><a href="#1" title="Link 1">Link 1</a></li>
   <li><a href="#2" title="Link 2">Link 2</a></li>
   <li><a href="#3" title="Link 3">Link 3</a></li>
   <li><a href="#4" title="Link 4">Link 4</a></li>
   <li><a href="#5" title="Link 5">Link 5</a></li> 
  </ul>
</div>
You can see here how it comes out http://www.spanglishwebs.com/samples...rasymuros.html
And it not ment to have the bullet points - as images are ment to be up to the border on the left.

Im confussed - please help! - Im using IE- maybe in other they work! Mmmm

Many thanks
Rachel
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

coldturkey is offline
Reply With Quote
View Public Profile Visit coldturkey's homepage!
 
 
Register now for full access!
Old 01-16-2008, 06:29 PM Re: stupid menu - help! <li> </li> problem
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Code:
#menu2 {
 width: 175px;
 margin: 10px;
 border-style: solid solid none solid;
 border-color: #D8D5D1;
 border-size: 1px;
 border-width: 1px;
 list-style-type:  none;
 }
Add the bolded line and you'll have no dot.

For more information on this (and the other options you have for list styles, check here:

http://www.w3schools.com/css/pr_list-style-type.asp
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to stupid menu - help! <li> </li> problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10066 seconds with 12 queries