Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7910085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:43:34+00:00 2026-06-03T12:43:34+00:00

I am using the ASP.NET AJAX TabContainer control in a web application. I’ve placed

  • 0

I am using the ASP.NET AJAX TabContainer control in a web application. I’ve placed images in the headers for each tab rather than using text – but the images are truncated b/c the default CSS for TabContainer states that the header is only 13px high:

.ajax__tab_xp .ajax__tab_header .ajax__tab_tab 
 {
    height:13px;
    padding:4px;
    margin:0px;
    background:url("tab.gif") repeat-x;
  }

I have a CSS file I’m using and have added the following line to override that contained in the default CSS for TabContainer:

.ajax__tab_xp .ajax__tab_header .ajax__tab_tab 
 {
    height:83px;
    padding:4px;
    margin:0px;
    background:url("tab.gif") repeat-x;
  }

But it is still using the default 13px, why?

You can see the default css file here: Default CSS File

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:43:36+00:00Added an answer on June 3, 2026 at 12:43 pm

    After a lot of messing around, I got it working, though I’m not entirely sure what I did…

    I think, I had to:

    1. Manually add CssClass to ajaxToolkit:TabContainer, as even when setting it via the properties it didn’t seem to generate.
    2. I tried overriding the class ajax__tab_xp, but that didn’t work, so I created a new class called ajax__custom and that worked. So my CSS in the end looked like:

      .ajax__custom .ajax__tab_header .ajax__tab_tab
      {
          height: 100px;
      }
      

    Hope this helps someone else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using VS2010, C#, ASP.NET, I've inserted Ajax Control Toolkit Tab Container which works
Here's the specs: ASP.NET 3.5 using ASP.NET AJAX AJAX Control Toolkit jQuery 1.3.2 web
I'm using ASP.NET AJAX Control Toolbox in ASP.NET 3.5 webform app; for each item
I'm using ASP.NET 3.5 web forms, ASP.NET AJAX and ASP.NET AJAX Control Toolkit. I
I am using ASP.NET Ajax control toolkit v3.5 TabContainer control. Anytime I use the
I am using the ASP.NET AJAX Control Toolkit. Within this toolkit, I am only
I've been using the ASP.NET Ajax Control Toolkit Slideshow extender and while it works,
I m using asp.net 2.0 without AJAX. The file path in the fileupload control
Using this tutorial: http://dotnetslackers.com/articles/ajax/Using-jQuery-with-ASP-NET.aspx The web service is invoked such as Service1.asmx/HelloToYou The default
I'm writing an ASP.NET 3.5 web application. There is a rather complex input form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.