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 5932535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:50:51+00:00 2026-05-22T14:50:51+00:00

Im having a problem to determine how to manipulate the Borders for some Tabs

  • 0

Im having a problem to determine how to manipulate the Borders for some Tabs

enter image description here

You can see the functionality here on ASP.NET if you are logged-in http://forums.asp.net/user/editprofile.aspx#

You can see for an onClick Event the background-color of the Tab changes to white like its supposed to.

The problem that Im having has to do with the Borders for onClick:

The border-bottom should change from the grey color to white.
The border-left and the border-right should change to the grey color.

Likewise when a Tab is not selected:
The border-bottom should change to the grey color from white.
The border-left and border-right should not have a border.

In my CSS, Im using both the blue and white class for the JavaScript. However I also have: .common-heading-tabs a.selected and this is confusing me.

Here is my Fiddle- if someone could help It would be great
http://jsfiddle.net/NinjaSk8ter/ZSeFA/

  • 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-05-22T14:50:51+00:00Added an answer on May 22, 2026 at 2:50 pm

    I just modified the CSS class for .white a little bit, your CSS mark-up was not the standard:

    border-left-color: #A0AFC3;
    border-left-style: solid;
    border-left-width: 1px;
    

    Additionally, to get the bottom border to go away, you have one of two options, you could do one of either

    • remove the bottom border from the .common-heading-tabs a class and add it to the .blue class
    • add border-bottom-color:white !important; to the .white class

    The reason that you were seeing the behavior that you were was because the standard tab had a border (from .common-heading-tabs a), and when you switched to white, you tried to change the color or some of the borders, but you used border-left-color-value rather than simply border-left-color, and then you didn’t modify the border on the bottom on the tab for the white class, hence either moving the bottom border declaration out of .common-heading-tabs a or explicitly coloring the bottom-border-color:white !important

    Hope that helps!

    Edit:

    You requested having a border run between the tabs, if you were to modify the class .left-col and add to it:

    .left-col
    {
     border-bottom-color: black;
     border-bottom-width: 1px;
     border-bottom-style: solid;
    }
    

    That should do the trick, maybe you should get rid of the borders on the other tabs, if this is what you’re looking for, because the double border looks funky.

    Let me know if I can help any more

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

Sidebar

Related Questions

C#.NET 4.0 I'm having an interesting problem here with reading a custom file archive
Having a bit of a problem with my hosted ASP.NET applications. I noticed slowness
Having problem with the middle Div not expanding to the width http://acs.graphicsmayhem.com/images/middiv.jpg Ok, how
I m having problem to determine from where extra padding is added to a
I'm having some problems trying to figure out how to solve a problem without
I'm having a bit of a problem with Web Deploy I just can't seem
I'm having a problem with an invalidCastException noted here: InvalidCastException thrown after install on
I am having a problem that I just can't seem to figure out. The
I'm having a bit of an odd problem while trying to compile some code
We're having problem with a huge number of legacy stored procedures at work. Do

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.