国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
AjaxControlToolkit中,TabContainer的一個(gè)簡(jiǎn)單Css樣式(轉(zhuǎn)載...

AjaxControlToolkit中,TabContainer的一個(gè)簡(jiǎn)單Css樣式(轉(zhuǎn)載)

因?yàn)轫?xiàng)目需要,感覺使用Ajax的TabContainer比較方便,但是其默認(rèn)的樣式與我們已有的風(fēng)格不一致,所以查了查資料,湊了套簡(jiǎn)單的style.

效果圖:

 

Css Style:

<style type="text/css">
/* Following are tab control styles, Special for Outsourcing Set-up Process Page */
/* Default tab */
.AjaxTabStrip .ajax__tab_tab
{
    font-size: 12px;
    padding: 4px;
    width: 105px;  /* Your proper width */
    height:16px;   /* Your proper height */
    background-color: #EAEAEA;
}
/* When mouse over */
.AjaxTabStrip .ajax__tab_hover .ajax__tab_tab
{
    font-weight:bold;
    text-decoration: underline;
}
/* Current selected tab */
.AjaxTabStrip .ajax__tab_active .ajax__tab_tab
{
    background-color: #C2E2ED;
    font-weight:bold;
}
/* TabPanel Content */
.AjaxTabStrip .ajax__tab_body
{
    border: 1px solid #999999;
    padding: 8px;
    background-color: #ffffff;
    margin-right: 9px; /* Your proper right-margin, make your header and the content have the same width */
    margin-top:0px;
}
</style>

Code in aspx

<cc1:TabContainer ID="tabstrip11" CssClass="AjaxTabStrip" runat="server" ActiveTabIndex="1"
    Height="121px" Width="590px">
    <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Tab 1">
        <ContentTemplate>
            Content of Tab 1
        </ContentTemplate>
    </cc1:TabPanel>
    <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Tab 2">
        <ContentTemplate>
            Content of Tab 1
        </ContentTemplate>
    </cc1:TabPanel>
    <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="Tab 3">
        <ContentTemplate>
            Content of Tab 3
        </ContentTemplate>
    </cc1:TabPanel>
    <cc1:TabPanel ID="TabPanel4" runat="server" HeaderText="Tab 4">
        <ContentTemplate>
            Content of Tab 4
        </ContentTemplate>
    </cc1:TabPanel>
    <cc1:TabPanel ID="TabPanel5" runat="server" HeaderText="Tab 5">
        <ContentTemplate>
            Content of Tab 5
        </ContentTemplate>
    </cc1:TabPanel>
</cc1:TabContainer>

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Ajax TabContainer 自定義CSS樣式
C#動(dòng)態(tài)生成控件以及添加事件處理
百度空間CSS代碼中文說明
原來這一部分是對(duì)UPDAtePANEL控制進(jìn)行回發(fā)處理的方法
關(guān)于extjs中動(dòng)態(tài)添加TabPanel的tab項(xiàng)并以iframe顯示的整理
ASP.NET 2.0中使用multiview控件
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服