?
Solved

ASP.NET Tab Control Style

Posted on 2013-01-10
3
Medium Priority
?
580 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Accepted Solution

by:
masterpass earned 600 total points
ID: 38765244
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 600 total points
ID: 38765281
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
ID: 38765369
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

718 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