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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:52:27+00:00 2026-06-08T05:52:27+00:00

If the following conditions are met, setting zoom:1 hides the element’s content: Markup must

  • 0

If the following conditions are met, setting zoom:1 hides the element’s content:

  1. Markup must have this structure:

    <table><tr><td>
        <div class="overflow">
            <span class="zoom">zoom</span>
        </div>
    </td></tr></table>
    
  2. These styles must be defined:

    .somethingSPECIAL .zoom {
        zoom: 1;
    }
    .overflow {
        width: 300px;  /* Whatever px here. */
        height: 150px; /* Whatever px here. */
        overflow: auto;
    }
    
  3. The somethingSPECIAL class should be applied to any ancestor of the markup above after page load (like on a button click).

  4. The browser you’ve been forced to use must be IE8 in Compatibility View.

Here’s a live demo.

Why is this happening, and what can I do to prevent it? (I can’t get rid of zoom: 1. I also have to set the parent class as shown in the demo.)

  • 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-08T05:52:29+00:00Added an answer on June 8, 2026 at 5:52 am

    I noticed that the width and height of the span element went from 33×19 to 0x0. So if you set it back to ‘auto’ it works.

    $('.zoom').css('width', 'auto');
    

    See http://jsfiddle.net/GgY6C/29/

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

Sidebar

Related Questions

If I have the following named_scope named_scope :scope_by_user_id, lambda {|user_id| {:conditions => [comments.user_id =
I have the following named scope: named_scope :report_search, lambda { |search| { :conditions =>
I have following statement for query articles from some sections Article.all(:joins => :sections, :conditions
if the following conditions are met: all pages are static (eg, templates to be
I need this to return a boolean value if the following condition is met
I have the following element handling inside a tap event binding. $el .doThis .end()
I need to find all CIDs (Contracts) meet the following conditions They are active
I want to match and modify part of a string if following conditions are
I'm working on a Rails 3.2 application with the following routing conditions: scope (:locale),
How to write tests where conditions like the following arise: Test user Input. Test

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.