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 1 of 3 pages 1 2 3 >
Anouther great article.
Simple, yet serves it's purpose. Although it's not the most visually pleasing, it gets the job done. Nice addition!
Me da error en la validacio en W3c Css validator, el error que me da es el siguiente:
Línea: 12 Contexto : .markermenu li a
Propiedad no válida : background Faltan valores o no se reconocen los valores : white url(media/arrow-list.gif) no-repeat 2px center
Línea: 12 Contexto : .markermenu li a
Propiedad no válida : background Faltan valores o no se reconocen los valores : white url(media/arrow-list.gif) no-repeat 2px center
In IE7 all the menu items (except the first) are larger (height) than they are supposed to be.
Specifying an explicit width seems to fix the problem:
.markermenu li a{
width: 150px;
}
It does work correctly when the 1.1 DOCTYPE is specified, but not 1.0 Transitional.
Ugh, sometimes CSS can be such a pain in the ass. If only IE had gotten the box model correct on the first try...
Specifying an explicit width seems to fix the problem:
.markermenu li a{
width: 150px;
}
It does work correctly when the 1.1 DOCTYPE is specified, but not 1.0 Transitional.
Ugh, sometimes CSS can be such a pain in the ass. If only IE had gotten the box model correct on the first try...
EXCELLENT !! Exactly what I was looking for. Thanks again DD.
In Opera 9, submenus are above the screen, so they are not visible...
simple, yet nice list button. It gave me inspiration for my website, thanks a lot!
I use a similar menu on one of my sites. Its nice!
I want style width list menu
Is there a way to check if the code is CSS and XHTML 1.0 compatible?
Commenting is not available in this weblog entry.

