CSS Library: Vertical CSS Menus: Here
Image Marker Menu
Author: Dynamic Drive
This CSS code creates a vertical menu out of ordinary lists, using an arrow image to replace the default HTML marker. The image is applied as a background image, with a different one shown when the mouse moves over the links.
Demo:
The two images used:
![]()
The CSS:
Rate this code:
Date Posted: 05/24/2006
Revision History: July 12th, 08: Menu CSS and HTML updated. Menu now wraps around a DIV that controls its width.
Sept 2nd, 08: Menu CSS updated to correct bug in IE6.
Usage Terms: Click here
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 2 of 3 pages < 1 2 3 >
Perfect, works really great! tip for using icons: place it in the link, otherwise it fals above it.
Godmoon.Good stuff for joomla design
simple but very useful.. changing the background color works wonders..
I am using this menu and it looks great but IE is adding alot of space between my menu items. The menu winds up to tall.
Any ideas?
thanks
tj
Any ideas?
thanks
tj
exactly where do i put this
Very simple and nice menu. It does the job very well with Firefox or Safari on Macintosh platforms, but the menu list sometimes disappear with IE. Any ideas?
Thanks
G
Thanks
G
Very nice menu..I too had the same problem listed above some times...
Hi!
This is almost what I was looking for, however I did a little change to adapt to what I was needing.
Take a look, experiment change this css by this and see what happens.
I hope you enjoy it.
Thanks for article, very usefull to me. ;)
This is almost what I was looking for, however I did a little change to adapt to what I was needing.
Take a look, experiment change this css by this and see what happens.
.markermenu {
border:1px solid #9A9A9A;
list-style-type:none;
margin:5px 0pt;
padding:0pt;
width:200px;
}
.markermenu li a {
background:white url(media/arrow-list.gif) no-repeat scroll 2px center;
border-bottom:1px solid #B5B5B5;
color:#00014E;
display:block;
font-family:"Lucida Grande","Trebuchet MS",Verdana,Helvetica,sans-serif;
font-size:13px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:bold;
line-height:normal;
padding:3px 0pt 3px 20px;
text-decoration:none;
width:auto;
}
* html .markermenu li a { /*IE only. Actual menu width minus left padding of LINK (20px) */
width:180px;
}
.markermenu li a:visited, .markermenu li a:active {
color:#00014E;
}
.markermenu li a:hover {
background-color:#FFFFCB;
background-image:url(media/arrow-list-red.gif);
color:black;
padding-left:40px;
background:#FFFFCB url(media/arrow-list-red.gif) no-repeat scroll 185px center;
}
* html .markermenu li a:hover{ /*IE only. Actual menu width minus left padding of LINK (40px) due to hover*/
width:160px;
}
I hope you enjoy it.
Thanks for article, very usefull to me. ;)
Ops, there are two lines useless:
background-color:#FFFFCB;
background-image:url(media/arrow-list-red.gif);
Thanks... but just one question.... how I can put bullets on mouse over event?
Commenting is not available in this weblog entry.

