Andilangodang – Cara Membuat menu vertikal di blog
]]></b:skin>
.glossymenu, .glossymenu li ul{
list-style-type: none;
margin: 0;
padding: 0;
width: 185px; /*WIDTH OF MAIN MENU ITEMS*/
border: 1px solid black;
}
.glossymenu li{
position: relative;
}
.glossymenu li a{
background: white url('http://i580.photobucket.com/albums/ss241/nobhita/green1.gif') repeat-x bottom left;
font: bold 12px Verdana, Helvetica, sans-serif;
color: white;
display: block;
width: auto;
padding: 5px 0;
padding-left: 10px;
text-decoration: none;
}
.glossymenu li ul{
position: absolute;
width: 190px;
left: 0;
top: 0;
display: none;
}
.glossymenu li ul li{
float: left;
}
.glossymenu li ul a{
width: 180px;
}
.glossymenu li a:visited, .glossymenu li a:active{
color: white;
}
.glossymenu li a:hover{
background-image: url('http://i580.photobucket.com/albums/ss241/nobhita/green2.gif');
}
* html .glossymenu li { float: left; height: 1%; }
* html .glossymenu li a { height: 1%; }
<ul id="vertical menu Edit By antok" class="glossymenu">
<li><a href="/">Home</a></li>
<li><a href="http://URL MENU">Ganti dgn judul Menu</a></li>
<li><a href="http://URL MENU" >Ganti dgn judul menu</a></li>
<li><a href="http://antokcupu.blogspot.com">Ganti Dgn Judul Menu</a></li>
</li>
</ul>
lihat hasilnya,ubah sesuai keinginan anda..
Cari :
]]></b:skin>
Letakan kode berikut di bawah kode diatas:
.glossymenu, .glossymenu li ul{
list-style-type: none;
margin: 0;
padding: 0;
width: 185px; /*WIDTH OF MAIN MENU ITEMS*/
border: 1px solid black;
}
.glossymenu li{
position: relative;
}
.glossymenu li a{
background: white url('http://i580.photobucket.com/albums/ss241/nobhita/green1.gif') repeat-x bottom left;
font: bold 12px Verdana, Helvetica, sans-serif;
color: white;
display: block;
width: auto;
padding: 5px 0;
padding-left: 10px;
text-decoration: none;
}
.glossymenu li ul{
position: absolute;
width: 190px;
left: 0;
top: 0;
display: none;
}
.glossymenu li ul li{
float: left;
}
.glossymenu li ul a{
width: 180px;
}
.glossymenu li a:visited, .glossymenu li a:active{
color: white;
}
.glossymenu li a:hover{
background-image: url('http://i580.photobucket.com/albums/ss241/nobhita/green2.gif');
}
* html .glossymenu li { float: left; height: 1%; }
* html .glossymenu li a { height: 1%; }
Save,Buka Gadget Masukan Kode berikut :
<ul id="vertical menu Edit By antok" class="glossymenu">
<li><a href="/">Home</a></li>
<li><a href="http://URL MENU">Ganti dgn judul Menu</a></li>
<li><a href="http://URL MENU" >Ganti dgn judul menu</a></li>
<li><a href="http://antokcupu.blogspot.com">Ganti Dgn Judul Menu</a></li>
</li>
</ul>
lihat hasilnya,ubah sesuai keinginan anda..