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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:50:32+00:00 2026-05-10T19:50:32+00:00

My code works great in IE8, Firefox and Safari. But it doesn’t work properly

  • 0

My code works great in IE8, Firefox and Safari. But it doesn’t work properly in Opera. What happens is that the DIV is hidden but the space occupied by the DIV remains to appear in my web-page.

<div  style=' z-index:-1;height :380; width:760; position:relative; text-align:center' id='new-add'>     <object id='banner-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'      codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'          width='769' height='382' top='0'>      <param name='movie'  value='exp.swf' />      <param name='quality' value='high' />      <param name='bgcolor' value='#ffffff' />      <param name='wmode' value='transparent' />     <embed src='exp.swf' wmode='transparent' quality='high' bgcolor='#ffffff' width='780' height='382'  name='mymoviename' align='' type='application/x-shockwave-flash'      pluginspage='http://www.macromedia.com/go/getflashplayer'>      </embed>      </object>  </div>  <div  id='fechar-link' style=' font-family: Verdana,Arial,Helvetica,sans-serif; font-style: normal;      font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none;      font-stretch: normal; text-decoration: none; text-align:center' >     <a href='#' onclick='         document.getElementById('new-add').style.height =0;         document.getElementById('banner-flash').style.height =0;         document.getElementById('fechar-link').style.height  = 0;          document.getElementById('new-add').style.visibility ='hidden';         document.getElementById('banner-flash').style.visibility ='hidden';         document.getElementById('fechar-link').style.visibility ='hidden';  '  >Close</a>         </div> 

What do I need to do, so the space occupied by the DIV disappears?

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-10T19:50:32+00:00Added an answer on May 10, 2026 at 7:50 pm

    You might try the style.display property:

    Hide

    document.getElementById(‘YourElem’).style.display = ‘none’;

    Show

    document.getElementById(‘YourElem’).style.display = ”;

    EDIT: Took PorneL comment into acocunt in this answer

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

Sidebar

Related Questions

This code works great: import zmq, json, time def main(): context = zmq.Context() subscriber
This ruby code works great: require 'soap/wsdlDriver' wsdl_url = 'http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl' proxy = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver print
I'm running into a problem that I can't seem to solve. The code works
I use the following code snippet to load data from google fusion table as
wonder if anyone can help. Bascially I'm working on a site, and a chunk
I am using the latest fancybox 1.3.1 and jquery 1.6. I am trying to
I have spent hours with this issue. I'm about ready to tear my project
i'm a bit new to JQuery and ajax, so i apologize if this is
I was just curious as to what CSS Pseudo selectors everyone thinks are safe
I have a form where the user enters a 6 digit number and clicks

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.