Solved

ASP.NET Tab Control Style

Posted on 2013-01-10
3
542 Views
Last Modified: 2013-01-10
I have a tab control on my page.  Everything works fine.  How can I change the actual Tabs so they are higher?
0
Comment
Question by:rrhandle8
3 Comments
 
LVL 21

Accepted Solution

by:
masterpass earned 150 total points
Comment Utility
you will need to style your tabs accordinly using css, an example is here : http://www.c-sharpcorner.com/uploadfile/raghavau/css-style-sheet-for-ajax-tabcontainer-control-in-Asp-Net-2-0/

Alternativly, you can download the http://ajaxcontroltoolkit.codeplex.com/ ajaxtoolkit controller and get a better idea.

Hope this helps :)
0
 
LVL 7

Assisted Solution

by:Element1910
Element1910 earned 150 total points
Comment Utility
What do you mean by higher? Are you using the ASP.NET AJAX tabs? If so, you'll need to override the current CSS being applied to the tabs. To change the height of the tab, you'll need to set this style in either the <HEAD> of your .aspx page or within a linked *.css document that is loaded onto your page.

I recommend overriding two CSS styles:

.ajax__tab .ajax__tab_tab {
        height:100px;
        margin:0;
        padding:10px 4px;
}

.ajax__tab .ajax__tab_body
{
        position:absolute;
        top:100px; /* here */
        width:205px;
}

Open in new window

0
 

Author Closing Comment

by:rrhandle8
Comment Utility
This is a complete stylesheet for the tab control.
 http://www.c-sharpcorner.com/uploadfile/raghavau/css-style-sheet-for-ajax-tabcontainer-control-in-Asp-Net-2-0/

This is how to make the tab higher, but watch out.  As soon as you do, you may find there are other styles that need to be updated especially if you are using images for the borders of your tabs.  But it did answer my question.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now