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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:03:49+00:00 2026-05-11T10:03:49+00:00

So I just love it when my application is working great in Firefox, but

  • 0

So I just love it when my application is working great in Firefox, but then I open it in IE and… Nope, please try again.

The issue I’m having is that I’m setting a CSS display property to either none or table-cell with JavaScript.

I was initially using display: block, but Firefox was rendering it weird without the table-cell property.

I would love to do this without adding a hack in the JavaScript to test for IE. Any suggestions?

Thanks.

  • 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. 2026-05-11T10:03:50+00:00Added an answer on May 11, 2026 at 10:03 am

    A good way of solving this setting the display value to '':

    <script type='text/javascript'> <!-- function toggle( elemntId ) {     if (document.getElementById( elemntId ).style.display != 'none') {         document.getElementById( elemntId ).style.display = 'none';     } else {         document.getElementById( elemntId ).style.display = '';     }     return true; } //--> </script> 

    The empty value causes the style to revert back to it’s default value. This solution works across all major browsers.

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

Sidebar

Related Questions

I've just discovered Raphael, and love it, but I am not much of a
Just wondering how I can make my app open automatically at login, but make
I'm just working on a web application with sencha touch. I need to implement
I love the way that Apple has the application purchase iAds. They look great
I am just learning objective c and xcode. I love the interface building, but
I'm working on a desktop application and would love to use any hardware random
I'm working on a small but vital batch application which has a step in
I'm working on an issue-tacking application, where website users enter issues which are sent
I love that Qt is cross-platform but I want to make an application that
Question is in the title. I'd just love to understand why this isn't supported?

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.