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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:34:11+00:00 2026-06-06T14:34:11+00:00

I have some CSS and HTML for horizontal tabs that works perfectly in jsfiddle.

  • 0

I have some CSS and HTML for horizontal tabs that works perfectly in jsfiddle. However, in both Firefox 13 and IE6 (the browser I most need this to work in) the tabs are displayed as a vertical unordered list.

Here is the CSS:

.tablist
{
    list-style:none; 
    height:2em;
    padding:0; 
    margin:0; 
    border: none;
}
.tablist li
{
    display:inline-block;
    float: left;
}

.tablist li a
{
    float: left;
    margin-right:0.13em; 
    padding:0 1em;
    text-decoration:none;
    border:0.06em solid #000;
    border-bottom:0;
    font:bold 0.88em/2em arial,geneva,helvetica,sans-serif;
    color:#000;
    background-color:#ccc;

    /* CSS 3 elements */
    webkit-border-top-right-radius:0.50em;
    -webkit-border-top-left-radius:0.50em;
    -moz-border-radius-topright:0.50em;
    -moz-border-radius-topleft:0.50em;
    border-top-right-radius:0.50em;
    border-top-left-radius:0.50em;
}

.tablist li a:hover
{
    background:#3cf; 
    color:#fff;
    text-decoration:none;
}
.tablist li#current a
{
    background-color: #777;
    color: #fff;
}
.tablist li#current a:hover
{
    background: #39C;
}

And here is the HTML:

<div class="tablist">
    <ul>
        <li><a href="#Dashboard"><strong>Tutorialsphere</strong></a></li>
        <li><a href="#"><strong>Photoshop</strong></a></li>
        <li><a href="#"><strong>Illustrator</strong></a></li>
        <li><a href="#"><strong>Fireworks</strong></a></li>
        <li><a href="#"><strong>Flash</strong></a></li>
        <li><a href="#"><strong>CSS</strong></a></li>
        <li><a href="#"><strong>PHP</strong></a></li>
    </ul>
</div>

For a while this was working in Firefox and I don’t remember changing anything — but I must have.

Any advice is appreciated.

Regards.

  • 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-06T14:34:13+00:00Added an answer on June 6, 2026 at 2:34 pm

    I don’t have IE6 handy, but try display: block; float:left to this selector: .tablist li a

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

Sidebar

Related Questions

I have some CSS that doesn't behave correctly with IE8. It works fine with
I have some CSS style that does not work in IE and that works
I have some CSS and HTML that are as follows. There's a javascript code
In the following jsfiddle I have put some html and some css. I'm trying
I have some html files with their own css. I want to use them
I have some HTML Code: <html> <head> <title>css test</title> <style type=text/css> .box{width:100%;float:left;background:red} </style> </head>
I have this html: <div class=foo parent> <div class=child></div> </div> with some css: .foo{
I have HTML + CSS text. I need some lib with simple function like
I was checking out some of Amazon 's CSS and noticed they have HTML
I have some css files that i need to use in RTL direction template.

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.