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

  • Home
  • SEARCH
  • 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 7861985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:57:28+00:00 2026-06-02T22:57:28+00:00

Check out this fiddle in IE9 and try resizing the browser. As you can

  • 0

Check out this fiddle in IE9 and try resizing the browser. As you can see the error message doesn’t work properly. It works fine in Webkit, Firefox and Opera so far.

This is my current code:

@media screen and (max-width: 480px) {
  #my-form label {
    text-align: left;
    display: block;
    padding-bottom: .3em;
  }
  #my-form .error {
    position: inherit;
    display: inline-block;
    left: 0;
    top: 100%;
    margin-top: 4px;
    width: 200px;
  }
  #my-form .error:after {
    content: "";
    position: absolute;
    top: 0;
    margin-top: -16px;
    left: 50%;
    margin-left: -8px;
    border-style: solid;
    border-width: 8px 8px 8px 8px;
    border-color: transparent transparent #313b53 transparent;
  }
}

What could be the problem? I can’t seem to figure it out. IE9 is the only one that doesn’t work as expected…

  • 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-02T22:57:29+00:00Added an answer on June 2, 2026 at 10:57 pm

    I fixed it. It seems like there were two things causing problems with IE. First I moved the default code for errors to another another media query for 481 and more:

    @media screen and (min-width: 481px) {
      #my-form .error {
        position: absolute;
        width: 150px;
        right: -171px;
        margin-right: -20px;
        top: 50%;
      }
    }
    

    And then I used floats instead of inline-block. Seems like IE still has problems with inline-block:

    @media screen and (max-width: 480px) {
      #my-form label {
        text-align: left;
        display: block;
        padding-bottom: .3em;
      }
      #my-form .error {
        float: left; // Here
        clear: left;
        top: 100%;
        margin-top: 4px;
        width: 200px;
      }
    }
    

    Demo: http://jsfiddle.net/elclanrs/BMz9U

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

Sidebar

Related Questions

http://jsfiddle.net/4UbKe/3/ Please check out the fiddle to see exactly why it doesn't work. I'm
If you check out this JS fiddle: http://jsfiddle.net/DE5Bp and try to sort the Tariff
check out this fiddle: http://jsfiddle.net/5rmEe/61/ var inputVal = false; //allow user to deselect a
check out this fiddle: http://jsfiddle.net/5rmEe/ the goal is to uncheck the radio button when
Check out the small html structure sample below for context. Check out this fiddle
Check out this fiddle: http://jsfiddle.net/foreyez/hQ9ZR/ <table background='red'> <thead> <tr> <th style='width:3000px;background:red'>Students</th> </tr> </thead> <tbody>
Check out this picture to see what I am trying to accomplish. Basically I
Check out this fiddle: http://jsfiddle.net/mattball/nWWSa/ var $lis = $('ul.innerfade > li'); function fadeThemOut() {
Check out this fiddle: http://jsfiddle.net/sajYc/ The transition for the :after pseudo element works in
Please check out this fiddle: http://jsfiddle.net/dppJw/8/ I've used a pseudo-element for the body (also

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.