<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    春風(fēng)博客

    春天里,百花香...

    導(dǎo)航

    <2008年10月>
    2829301234
    567891011
    12131415161718
    19202122232425
    2627282930311
    2345678

    統(tǒng)計(jì)

    公告

    MAIL: junglesong@gmail.com
    MSN: junglesong_5@hotmail.com

    Locations of visitors to this page

    常用鏈接

    留言簿(11)

    隨筆分類(224)

    隨筆檔案(126)

    個(gè)人軟件下載

    我的其它博客

    我的鄰居們

    最新隨筆

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    四種CSS鏈接按鈕示例

    代碼下載:
    http://www.tkk7.com/Files/sitinspring/CssLinkButton20081008210352.rar



    背景色切換鏈接按鈕CSS代碼:
    /*2008.10.08*/

    #linkButtonDiv1 ul
    {
        margin
    :0;
        padding
    :0;
        list-style-type
    :none;
    }


    #linkButtonDiv1 li a
    {
        width
    :100px;
        height
    :20px;
        
        display
    :bolck;    
        font-size
    : 16px; 
            
        margin
    :5px;
        
        border
    : 1px solid #000000; 
        
        padding
    :5px;
        
        color
    :#000000;
        background-color
    :#94b8e9;
        text-decoration
    :none;
        text-align
    :center;
    }


    #linkButtonDiv1 li a:hover
    {
        color
    :#ffffff;
        background-color
    :#336699;
        text-decoration
    :underline;
    }



    背景圖片切換鏈接按鈕CSS代碼:
    /*2008.10.08*/

    #linkButtonDiv2 ul
    {
        margin
    :0;
        padding
    :0;
        list-style-type
    :none;
    }


    #linkButtonDiv2 li a
    {
        width
    :100px;
        height
    :20px;
        
        display
    :bolck;    
        font-size
    : 16px; 
            
        margin
    :5px;
        
        border
    : 1px solid #000000; 
        
        padding
    :5px;
        
        color
    :#000000;
        background
    :url(../img/bg-0314.gif);
        text-decoration
    :none;
        text-align
    :center;
    }


    #linkButtonDiv2 li a:hover
    {
        color
    :#ffffff;
        background
    :url(../img/bg-0315.gif);
        text-decoration
    :underline;
    }



    背景色突起效果按鈕示例:
    /*2008.10.08*/

    #linkButtonDiv3 ul
    {
        margin
    :0;
        padding
    :0;
        list-style-type
    :none;
    }


    #linkButtonDiv3 li a
    {
        width
    :100px;
        height
    :20px;
        
        display
    :bolck;    
        font-size
    : 16px; 
            
        margin
    :5px;
        
        padding
    :5px;
        
        color
    :#8d4f10;
        background
    :#efb57c;
        
        text-decoration
    :none;
        text-align
    :center;
        
        border
    :2px outset #efb57c;
    }


    #linkButtonDiv3 li a:hover
    {
        font-weight
    :bold;
        color
    :#ffffff;
        background
    :#daa670;
        text-decoration
    :underline;
        
        border
    :2px outset #daa670;
    }




    一張背景圖片左右切換按鈕CSS代碼:
    /*2008.10.08*/

    #linkButtonDiv4 ul
    {
        margin
    :0;
        padding
    :0;
        list-style-type
    :none;
    }


    #linkButtonDiv4 li a
    {
        width
    :114px;
        height
    :24px;
        
        display
    :bolck;    
        font-size
    : 12px; 
            
        margin
    :5px;
        
        padding
    :5px;
        
        color
    :#000000;
        background
    :url(../img/buttonbg.jpg) norepeat left top;
        text-decoration
    :none;
        text-align
    :center;
    }


    #linkButtonDiv4 li a:hover
    {
        font-weight
    :bold;
        color
    :#ffffff;
        background-position
    :right top;
        text-decoration
    :underline;
    }



    頁面HTML代碼:
    <body bgcolor="#cccccc">
        
    <div id="bodyDiv">
            
    <div id="header">
                
    <jsp:include page="/web/page/branch/header.jsp"/>
            
    </div>
            
    <div id="menubar">
                
    <jsp:include page="/web/page/branch/menubar.jsp"/>
            
    </div>
            
    <div id="content">
                
    <table border="0" width="100%" height="100%" style="table-layout:fixed;word-wrap:break-word;word-break;break-all;">
                    
    <tr>
                        
    <td valign="top" width="25%">
                            
    <div class="contentTitle">
                                
    <strong>背景色切換鏈接按鈕示例</strong> 
                            
    </div>
                            
    <div id="linkButtonDiv1" class="contentConcept">
                                
    <ul>
                                    
    <li><href="#">鏈接按鈕一</a></li>
                                    
    <li><href="#">鏈接按鈕二</a></li>
                                    
    <li><href="#">鏈接按鈕三</a></li>
                                    
    <li><href="#">鏈接按鈕四</a></li>
                                    
    <li><href="#">鏈接按鈕五</a></li>
                                    
    <li><href="#">鏈接按鈕六</a></li>
                                
    </ul>
                            
    </div>
                        
    </td>
                        
                        
    <td valign="top" width="25%">
                            
    <div class="contentTitle">
                                
    <strong>背景圖片切換鏈接按鈕示例</strong> 
                            
    </div>
                            
    <div id="linkButtonDiv2" class="contentConcept">
                                
    <ul>
                                    
    <li><href="#">鏈接按鈕一</a></li>
                                    
    <li><href="#">鏈接按鈕二</a></li>
                                    
    <li><href="#">鏈接按鈕三</a></li>
                                    
    <li><href="#">鏈接按鈕四</a></li>
                                    
    <li><href="#">鏈接按鈕五</a></li>
                                    
    <li><href="#">鏈接按鈕六</a></li>
                                
    </ul>
                            
    </div>
                        
    </td>
                        
                        
    <td valign="top" width="25%">
                            
    <div class="contentTitle">
                                
    <strong>背景色突起效果按鈕示例</strong> 
                            
    </div>
                            
    <div id="linkButtonDiv3" class="contentConcept">
                                
    <ul>
                                    
    <li><href="#">鏈接按鈕一</a></li>
                                    
    <li><href="#">鏈接按鈕二</a></li>
                                    
    <li><href="#">鏈接按鈕三</a></li>
                                    
    <li><href="#">鏈接按鈕四</a></li>
                                    
    <li><href="#">鏈接按鈕五</a></li>
                                    
    <li><href="#">鏈接按鈕六</a></li>
                                
    </ul>
                            
    </div>
                        
    </td>
                        
                        
    <td valign="top" width="25%">
                            
    <div class="contentTitle">
                                
    <strong>一張背景圖片左右切換按鈕示例</strong> 
                            
    </div>
                            
    <div id="linkButtonDiv4" class="contentConcept">
                                
    <ul>
                                    
    <li><href="#">鏈接按鈕一</a></li>
                                    
    <li><href="#">鏈接按鈕二</a></li>
                                    
    <li><href="#">鏈接按鈕三</a></li>
                                    
    <li><href="#">鏈接按鈕四</a></li>
                                    
    <li><href="#">鏈接按鈕五</a></li>
                                    
    <li><href="#">鏈接按鈕六</a></li>
                                
    </ul>
                            
    </div>
                        
    </td>
                    
    </tr>
                
    </table>
            
    </div>        
        
    </div>
        
    <div id="footer">
            
    <jsp:include page="/web/page/branch/footer.jsp"/>
        
    </div>
    </body>

    posted on 2008-10-08 12:02 sitinspring 閱讀(14775) 評論(1)  編輯  收藏 所屬分類: HTML,CSS&JS

    評論

    # re: 四種CSS鏈接按鈕示例[未登錄] 2012-03-15 16:43 YY

    GOOD, thanks  回復(fù)  更多評論   

    sitinspring(http://www.tkk7.com)原創(chuàng),轉(zhuǎn)載請注明出處.
    主站蜘蛛池模板: a级在线免费观看| 亚洲AV永久无码精品成人| 亚洲成A人片在线观看中文| 国产日产亚洲系列最新| 久久水蜜桃亚洲av无码精品麻豆| 亚洲欧洲精品国产区| 亚洲欧美成人一区二区三区| 一级毛片成人免费看a| 免费无码中文字幕A级毛片| 搡女人真爽免费视频大全| 亚洲精品亚洲人成在线观看下载 | 毛片大全免费观看| 免费真实播放国产乱子伦| 久久亚洲国产精品一区二区| 精品亚洲AV无码一区二区三区| 直接进入免费看黄的网站| 久久精品国产这里是免费| 四虎影院免费在线播放| 亚洲中文字幕无码久久2017| 亚洲日韩乱码中文无码蜜桃| 国产成人va亚洲电影| 亚洲成人免费在线| 国产免费观看青青草原网站| 亚洲国产精品国自产电影| 亚洲精华国产精华精华液网站| 国产情侣久久久久aⅴ免费| 成人午夜性A级毛片免费| 亚洲精品午夜无码专区| 亚洲一卡一卡二新区无人区| 三年片在线观看免费西瓜视频| 成年大片免费视频| 久久精品国产亚洲香蕉| 国产成人精品久久亚洲高清不卡| 久久国产精品免费观看| 免费一看一级毛片| 亚洲人成在久久综合网站| 韩国免费A级毛片久久| 成人毛片18女人毛片免费视频未 | 亚洲精品亚洲人成在线观看下载| 亚洲图片中文字幕| 青青操在线免费观看|