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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:55:31+00:00 2026-05-12T05:55:31+00:00

I am trying to set up CSS Tabs and I’d like them to be

  • 0

I am trying to set up CSS Tabs and I’d like them to be the same height and width. How do I do this w/ the following CSS:

#master_tab_layout
{
        height: 35px;
}


#master_tab_layout li
{
        display: inline;
        overflow:hidden;
        list-style-type:none;
        background-color:#FE000C;
}

#master_tab_layout a, a.active
{
        color: #DEDECF;
        background: #0EB1E8;
        font: bold 1em "Trebuchet MS", Arial, sans-serif;
        border: 2px solid black;
        padding: 2px 5px 0px 5px;
        margin: 0;
        width:150px;
        text-decoration: none;
}

#master_tab_layout a.active
{
        background: #FE000C;
        border-bottom: 3px solid #ABAD85;
}

#master_tab_layout a:hover
{
        color: #fff;
        background: #FFF;
}

#master_tab_layout a:visited
{
        color: #E8E9BE;
}

#master_tab_layout a.active:hover
{
        background: #FE000C;
        color: #DEDECF;
}

… and the subsequent HTML:

<div id="master_tab_layout">
  <ul>
    <li><a href="/howtoorder">How To Order</a></li>
    <li><a href="/about_us">About Us</a></li>
  </ul>
</div>
  • 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-12T05:55:32+00:00Added an answer on May 12, 2026 at 5:55 am
    #master_tab_layout ul li {
    width: 50px;
    height: 25px;
    }
    

    That’ll just set the size. If you want them vertical you’ll need to use display: block;

    also, don’t use a:active to change the font. It may change the size and be annoying to users.

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

Sidebar

Related Questions

This is driving me nuts. I am trying to set a background image to
Overlooking something basic here but I am trying to set a variable and have
I am trying to remove specific CSS selectors, and if there is no more
I am trying to validate a CSS document with the W3C validator, and it's
I'm trying to build a calendar style accordian in jQuery. So a set of
I have a navigation system. CSS based. On a few of the li items
I'm trying to build a website with a uniform layout. These two pages have
I am trying to figure out a way to create a class to group
i'm trying to develop a gnome shell extension and I've created the Hello World
I've got some images in my chrome extension that I want the user to

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.