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

The Archive Base Latest Questions

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

When I apply a negative margin-top of -3px in a parent element, all the

  • 0

When I apply a negative margin-top of -3px in a parent element, all the childs move to the right (in Firefox and IE8) but in Chrome looks perfectly fine (elements are centered).

What can be causing this?

<div class="menu-tab">
      <div class="folder-tab">
        <span class="normal-small-text">Ingresar<i class="icon-chevron-down icon-white"></i></span>
      </div>
</div>

The margin-top is applied in the class .menu-tab

This is in Chrome

enter image description here

And Firefox

enter image description here

  • 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-31T17:03:14+00:00Added an answer on May 31, 2026 at 5:03 pm

    As this seems to have fixed the issue for you, I’ll write it as an answer.

    Replace:

    margin-top: -3px;
    

    with:

    position: relative;
    top: -3px;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i apply this method to a <textarea></textarea> element but i would like to return
I want to apply a CSS rule to any element whose one of the
Is it possible to apply 2 box-shadows to a HTML element at once? I
When I apply 'border-bottom' to a 'span' element to underline it and if that
I apply a default string to the beginning of the Subject field with all
I apply a negative toXDelta in my TranslateAnimation and this cause a bug when
I need to apply function to vector b3, but insert 0 (and do not
I've looked and found things about negative look ahead but I am still not
I'm hiding an inline-block element inside of a parent div with overflow:hidden . I
I am looking to apply scores (positive, negative or neutral) to short phrases of

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.