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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:17:16+00:00 2026-05-28T13:17:16+00:00

This is a pretty simple question, clearly it’s an issue either with my CSS

  • 0

This is a pretty simple question, clearly it’s an issue either with my CSS or JS, my brain is just too fried from staring at this all day to see it.

If you take a look HERE, what I am trying to accomplish is when someone click on either “Products, Spec Sheets, Banners, etc.” it switches to the correct slide (UL element), and the arrow pointing down slides under the correct title. Everything works dandy in Chrome; however, in Firefox – the arrow is far to the right, and in IE it’s below the container. Here’s the JS:

var TabbedContent = {
    init: function() {  
        $(".category").click(function() {
            var background = $(this).parent().find(".selected");
            $(background).stop().animate({
                left: $(this).position()['left']
            }, {
                duration: 350
            });
            TabbedContent.slideContent($(this));
        });
    },
    slideContent: function(obj) {
        var margin = $(obj).parent().parent().find(".sliderContainer").width();
        margin = margin * ($(obj).prevAll().size() - 1);
        margin = margin * -1;

        $(obj).parent().parent().find(".displayContent").stop().animate({
            marginLeft: margin + "px"
        }, {
            duration: 1
        });
    }
}
$(document).ready(function() {
    TabbedContent.init();
});

I’d paste the CSS but it’s a little lengthy, it can be viewed HERE (It’s under the comment “Here’s the CSS for the tabbed content”). So as you can see from the JS, the arrow is supposed to slide under the correct heading in 350ms, and the associated UL slides into position. Now the movement seems to be fine in IE and Firefox, it’s just that the positioning of the pointing arrow is way off. Hopefully someone in the community can spot my flaw. Thank you in advance.

  • 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-28T13:17:17+00:00Added an answer on May 28, 2026 at 1:17 pm

    try to change the display to inline-block on

    .tabbedContent .tabs {
        display: inline-block;
    }
    

    (tested in FF and IE – works fine)

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

Sidebar

Related Questions

This is pretty simple, I come from a swing/awt background. I'm just wondering what
This a pretty simple question, I'm just not sure how to do it exactly.
This is a pretty simple question but I'm somewhat stumped. I am capturing sections
I think this is a pretty simple question. How do you an apache rewrite
I'm pretty sure this is a simple question in regards to formatting but here's
Im sure this is pretty simple but I just cant seem to find the
This a pretty simple question (I assume). Probably a repost, but I couldn't find
This is a pretty simple question- how can I check if a NSURL is
This is a pretty simple question really, but let's say I'm creating a model
Hopefully this is a pretty simple question for someone to answer. I have a

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.