-
8. Menú horisontal con imagen
Fuente: http://jsfiddle.net/mikegmz/dMsJk/light/<div style="position: absolute; top: 20px; left: 30px;">
<div id="cssmenu">
<ul><!------------------------------------------------------------------------->
<li><a href="http://papyrocktest.eklablog.com/">Accueil</a></li>
<!-------------------------------------------------------------------------></ul>
<ul>
<li class="has-sub "><a href="#">Articles</a>
<ul>
<li><a href="#">Product 1 <img style="vertical-align: middle;" src="http://stat17.privet.ru/lr/091b56586897a96151f0e8cdecd25268" alt="" width="100" /></a></li>
<li><a href="#">Product 2</a></li>
<li><a href="#">Product 3</a></li>
<li><a href="#">Product 4</a></li>
</ul>
</li>
</ul>
<ul><!------------------------------------------------------------------------->
<li class="has-sub "><a href="#">Liens</a>
<ul>
<li><a href="http://www.eklablog.com/" target="_blank">Eklablog</a></li>
<li><a href="http://doc.eklablog.com/forums" target="_blank">Forum Eklablog</a></li>
<li><a href="http://papyrock.eklablog.com//" target="_blank">Papyrock</a></li>
<li><a href="http://www.picmonkey.com/" target="_blank">Picmonkey</a></li>
<li><a href="http://www.w3schools.com/" target="_blank">W3Schools</a></li>
</ul>
</li>
<!------------------------------------------------------------------------->
<li class="has-sub "><a href="http://papyrocktest.eklablog.com/contact">Contact</a>
<ul>
<li><a href="http://papyrocktest.eklablog.com/newsletter">Newsletter</a></li>
</ul>
</li>
<!------------------------------------------------------------------------->
<li class="has-sub "><a href="http://papyrocktest.eklablog.com/forum-forum36483">Forum</a>
<ul>
<li><a href="#">Forum 1</a></li>
<li><a href="#">Forum 2</a></li>
<li><a href="#">Forum</a></li>
</ul>
</li>
</ul>
</div>
</div>/*--------- Menu CSS --------------*/
#cssmenu{
width:500px;height:37px;
display:block; padding:0;
margin:20px auto;
border:1px solid;
border-radius:5px; }
#cssmenu > ul {
list-style:inside none;
padding:0; margin:0;}
#cssmenu > ul > li {
list-style:inside none;
padding:0; margin:0;
float:left;
display:block;
position:relative;}
#cssmenu > ul > li > a{
outline:none;
display:block;
position:relative;
padding:12px 20px;
font:bold 13px/100% Arial, Helvetica, sans-serif;
text-align:center;
text-decoration:none;
text-shadow:1px 1px 0 rgba(0,0,0, 0.4); }
#cssmenu > ul > li:first-child > a{
border-radius:5px 0 0 5px;}
#cssmenu > ul > li > a:after{
content:''; position:absolute;
border-right:1px solid; top:-1px;
bottom:-1px; right:-2px; z-index:99; }
#cssmenu ul li.has-sub:hover > a:after{
top:0;
bottom:0;}
#cssmenu > ul > li.has-sub > a:before{
content:''; position:absolute;
top:18px;
right:6px;
border:5px solid transparent;
border-top:5px solid #fff; }
#cssmenu > ul > li.has-sub:hover > a:before{top:19px;}
#cssmenu ul li.has-sub:hover > a{ background:#78CBE9; border-color:#78CBE9; padding-bottom:13px; padding-top:13px; top:-1px; z-index:999; }
#cssmenu ul li.has-sub:hover > ul, #cssmenu ul li.has-sub:hover > div{display:block;}
#cssmenu ul li.has-sub > a:hover{background:#78CBE9; border-color:#78CBE9;}
#cssmenu ul li > ul, #cssmenu ul li > div{ display:none; width:auto; position:absolute; top:38px; padding:10px 0; background:#78CBE9; border-radius:0 0 5px 5px; z-index:999; }
#cssmenu ul li > ul{width:200px;}
#cssmenu ul li > ul li{display:block; list-style:inside none; padding:0; margin:0; position:relative;}
#cssmenu ul li > ul li a{ outline:none; display:block; position:relative; margin:0; padding:8px 20px; font:10pt Arial, Helvetica, sans-serif; color:#fff; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.5); }
#cssmenu, #cssmenu > ul > li > ul > li a:hover{
background:#DCF2F9;
background:-moz-linear-gradient(top, #89A8B3 0%, #DCF2F9 100%);
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#89A8B3), color-stop(100%,#DCF2F9));
background:-webkit-linear-gradient(top, #89A8B3 0%,#DCF2F9 100%);
background:-o-linear-gradient(top, #89A8B3 0%,#DCF2F9 100%);
background:-ms-linear-gradient(top, #89A8B3 0%,#DCF2F9 100%);
background:linear-gradient(top, #89A8B3 0%,#DCF2F9 100%); filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#89A8B3', endColorstr='#DCF2F9',GradientType=0 ); }
#cssmenu{border-color:#538DA2;}
#cssmenu > ul > li > a{border-right:1px solid #538DA2; color:#fff;}
#cssmenu > ul > li > a:after{border-color:#fff;}
#cssmenu > ul > li > a:hover{background:#B6C8CE;}