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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:42:48+00:00 2026-05-27T23:42:48+00:00

I am trying to do a very simple tab setup on my site, but

  • 0

I am trying to do a very simple tab setup on my site, but I’m having some problems because of the margin/padding pixel differences between firefox & chrome. Here is a jsfiddle link to what I’m talking about: http://jsfiddle.net/xqhf6/3/

Here’s what it looks like in chrome:
chrome

Here’s what it looks like in firefox:
firefox

Basically, here’s the setup I have:

  • .mydiv { … } : each box is a mydiv that has a padding of 6px and a
    1px borders on left, right & top.
  • .header { … } : contains the two
    divs with borders at the top and has a bottom border
  • .subheader { …
    } : sits underneath the header (contains other stuff on the right
    that is irrelevant).

I have tried to set a color for the subheader, tried to increase its z-index to be greater than that of the header and yet nothing works. I just want the little dangling borders to go away.

Help would be greatly appreciated, thanks Stack Overflow!

UPDATE Here is a jsfiddle link to what I’m talking about: http://jsfiddle.net/xqhf6/3/
UPDATE 2 In trying some of the options, it looks like my best bet is try and figure out a way to use the subheader to somehow mask the dangling borders. Not able to do that (as I mentioned, nothing works when I play around with z-index/subheader opacity & color)

Ringo

  • 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-27T23:42:49+00:00Added an answer on May 27, 2026 at 11:42 pm

    You get some weird effects if you try to apply a border to an inline element. Change your <span> elements to display: inline-block;.

    Preview: http://jsfiddle.net/Wexcode/2A2s8/

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

Sidebar

Related Questions

I am trying something very simple, but for some reason it does not work.
I'm trying to do a very simple INSERT using VB.NET. For some reason I'm
I am trying to do some very simple form validation checking for null or
I'm trying to create a very simple chat application in Flex/.Net using FluorineFX but
I am trying to read a very simple but somehow large(800Mb) csv file using
Trying to solve a very simple problem using mvvm-light, but after days of sifting
I am having difficulty trying to get a very simple scenario working with PRISM
I am trying to create a simple tab bar for a site that has
I am trying something very simple but somehow I can't get it to work.
I'm sure what I'm trying is very simple, but I've never quite worked with

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.