css: Sleek Pointer Menu 2

极品CSS横向TAB菜单收藏 Horizontal CSS Menus

This is an alternate version of the original Sleek Pointer Menu, one with a more trimmed down interface and with an arrow background that appears only when the mouse moves over a menu item. Inspired by the menu on Lealea.


The three images used (last image resized for easier download):

The CSS:

<style type=”text/css”>

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

margin: 0;
padding: 0;

#pointermenu2 ul{
margin: 0;
margin-left: 15px; /*menu offset from left edge of window*/
float: left;
padding-left: 8px;
font: bold 13px Verdana;
background: #c00000 url(media/leftround2.gif) bottom left no-repeat; /*optional left round corner*/

* html #pointermenu2 ul{ /*IE6 only rule. Decrease ul left margin and add 1em bottom margin*/
margin-bottom: 1em;
margin-left: 7px; /*menu offset from left edge of window in IE*/

#pointermenu2 ul li{
display: inline;

#pointermenu2 ul li a{
float: left;
color: white;
font-weight: bold;
padding: 7px 9px 7px 5px;
text-decoration: none;

#pointermenu2 ul li a:visited{
color: white;

#pointermenu2 ul li a:hover, #pointermenu2 ul li a#selected{ /*hover and selected link*/
color: lightyellow;
background: transparent url(media/pointer.gif) bottom center no-repeat;

#pointermenu2 ul li a#rightcorner{
padding-right: 0;
padding-left: 2px;
background: url(media/rightround2.gif) bottom right no-repeat; /*optional right round corner*/



<div id=”pointermenu2″>
<li><a href=”http://www.dynamicdrive.com”>Home</a></li&gt;
<li><a href=”http://www.dynamicdrive.com/new.htm”>DHTML</a></li&gt;
<li><a href=”http://www.dynamicdrive.com/style/&#8221; id=”selected”>CSS</a></li>
<li><a href=”http://www.dynamicdrive.com/forums/”>Forums</a></li&gt;
<li><a href=”http://tools.dynamicdrive.com/imageoptimizer/”>Gif Optimizer</a></li>
<li><a href=”http://tools.dynamicdrive.com/button/”>Button Maker</a></li>
<li><a href=”#” id=”rightcorner”>&nbsp;</a></li>
<br style=”clear: left” />

Mudah2an Bermanfaat,

source: dynamicdrive.com


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s