Hide a div on condition

I have an annoying < div > that appears on Internet Exploder. For the reasons covered elsewhere, I want hidden.

A < div > hides well. The other is stubbornly visible in IE and I don't want that, except in the context of IE9.

Here is the page:

http://www.hollisinternetmarketing.NET/Patty/patty1.html

And here's what I've done in CSS:

< style media = "all" >

<!-[if lte IE 8] >

{#centertab}

visibility: hidden;

display: none;

}

{#amazon_scroller}

visibility: hidden;

}

<! [endif]-->

< / style >

Obviously, I'm trying to hide the ID #centertab of everything Microsoft did before Internet Exploder 9. Just visibility: hidden; works great for the div #amazon_scroller. It does not work for #centertab.

Why? How can I hide this puppy?

That should be enough for the two-

Note that the conditional comment should be on the OUTSIDE of the

Tags: Dreamweaver

Similar Questions

  • I'm trying to hide a Div

    I'm building a site that needs the footer div to display only when the query reached media width of the phone. I set the visibility to collapse and it hides the div but keeps the space for it. I tried both hidden and collapse and neither does quite what I was hoping.

    Bootstrap has some helper classes to display or hide the items in different widths of device.

    This hides the element across all devices (Bootstrap worm 4) xs

    http://v4-alpha.GetBootstrap.com/layout/responsive-utilities/

    class = "hidden-sm-up" > ""

    INSERT A FOOTER HERE

    It works in Bootstrap worm x 3

    class = "visible-xs" > ""

    INSERT A FOOTER HERE

    Nancy O.

  • Hide a div tag that flash has finished loading

    What I'm trying to do, is to hide several div tags until my main.swf loading is completed. It is quite difficult to explain, but I'm trying to do is to hide my navigation bar and a tab on my website quote request until finished the preloader to load my main.swf. The preloader is located inside the main.swf and basically just 2 framework once it is loaded. I need to show those hidden div tags once he finished to load more to move to the 2nd image, then it will have to be some sort of communication between AS3 and the HTML of my site.

    Basically, I have been unable to 'float' my icons in the bar of navigation and click the tab a request where I need them to help only AS3, but I know how to do the floating using Div and CSS tags. So, I just need these two divs hidden until the rest of the site is loaded.

    I had someone trying to explain how do using ExternalInterface, but it's too complicated for me too quickly. I'm looking for is an easy way to float my items when resizes browser window using only AS3 or an easy way to show a few tags hidden div (which contain very small .swf files) once my page loaded using an easy and fast AS3 function that tells the HTML to display the tags.

    Any suggestions would be greatly appreciated and thanks in advance.

    ExternalInterface is the way to go with this.  Search Google using terms such as 'Tutorial AS3 ExternalInterface' until you find something that you can operate.  Do not try to adapt it to your needs immediately. First operate it as a stand-alone experience.  Then you can modify your application to stuit.

    Here is a link to the mentioned research:

    https://www.Google.com/search?q=AS3+ExternalInterface+tutorial

  • Model RTF how to hide a line under condition

    Hello

    Need to hide line based on condition. I have the table 4 ranks are there. To hide the line based on condition.tried after statement has failed.
    "< if@row:field!="Yes "> <? end if? >

    Help me to reslove this issue...

    Thank you
    Srini-

    I sent you the modifed model. Take a peek inside.

    Thank you
    BIPuser

  • I want to hide a DIV element using the IE conditional statement. Is this possible?

    Hi all

    IE has trouble reading my video, I just want to insert a conditional statement saying Internet Explorer to hide the video. Is this possible and if so, how? Thank you very much in advance for any help.

    Here is the URL (http://austinlindsay.com/iplayers.html) and the code of the div if it's any help (I know it is a little rough, sorry!):

    < div id = "iplayers_demonstration" > iPlayers video demonstration
    < object classid = "' clsid:02BF25D5 - 8 c 17 - 4B 23 - BC80 - D3488ABDDC6B" codebase =" " http://www.Apple.com/qtactivex/qtplugin.cab "height ="431"width ="791"scale ="aspect"> "
    < param name = "src" value = "video/iplayers_demonstration.mp4" >
    < param name = 'type' value = "video/quicktime" height = "431" width = "791" scale = "aspect" >
    < embed src = "video/iplayers_demonstration.mp4" height = "432" width = "738" scale = "aspect" autoplay = "false" type = "video/quicktime" pluginspage =" " http://www.Apple.com/QuickTime/Download/ "> "
    < / object >
    < / div >

    If it is not possible, my only solution is to solve the following problem, so if anyone has any suggestions, please let me know. Thank you very much

    Problem:

    I joined several video on my site and their rescheduled so that they fit inside my container. It works fine in Firefox, Safari, and IE8, I'm told. But there is a serious problems with IE7, where videos that play are cropped. This is probably caused by when I have rescaled the video, and for some reason, IE not resized the real images, just the viewing area. It is also, does not recognize "autoplay ="false"because that videos play automatically when the page is loaded.

    But it does not appear when you test it in IE. No idea why?

    Because you have told IE to stay away!

     <script type="text/javascript">
    // BeginOAWidget_Instance_2140022: #jQueryTabs
    
    
    
    
              $(function() {
          $("#jQueryTabs").tabs({
                        event:"click",
                        collapsible: false,
                        selected:'0',
                        fx: { opacity: 'none', duration: 1 }
            }).tabs( "none" , 1 , false ); 
              });
    
    
    // EndOAWidget_Instance_2140022
           </script>
          <div id="jQueryTabs">
            <ul>
              <li><a href="#tabs-1">Description</a></li>
              <li><a href="#tabs-2">Specification</a></li>
              <li><a href="#tabs-3">Video</a></li>
              <li><a href="#tabs-4">Audio</a></li>
              <li><a href="#tabs-5">Downloads</a></li>
            </ul>
            <div id="tabs-1">
              <p><?php echo $row_Recordset1['Full_Description']; ?>
            </div>
            <div id="tabs-2">
              <p><?php echo $row_Recordset1['Specification']; ?></p>
            </div>
            <div id="tabs-3">
              <p><?php echo $row_Recordset1['Video']; ?></p>
            </div>
            <div id="tabs-4">
              <p><?php if (!is_null($row_Recordset1['Audio1'])) { ?><a href="<?php echo $file_wav.$row_Recordset1['Audio1']; ?>"><img src="files/Images/audio_image1.jpg" width="50" height="50" ></a><?php } ?></p>
            </div>
            <div id="tabs-5">
              <p><?php if (!is_null($row_Recordset1['Brochure'])) { ?>
              <a href="<?php echo $file_pdf.$row_Recordset1['Brochure']; ?>"><img src="files/Images/pdf_image1.jpg"></a>Brochure<?php } ?></p>
              <p><?php if (!is_null($row_Recordset1['User_Guide'])) { ?><a href="<?php echo $file_pdf.$row_Recordset1['User_Guide']; ?>"><img src="files/Images/pdf_image1.jpg"></a>User Guide<?php } ?></p>
            </div>
    
    

    RiaandSteve1 wrote:

    Thanks for your quick response,

    I tried this,

     

    ">

    I'm not able to click on the tab now, but he is always visible (in this case telling audio). I must be something to do with this code

  • Audio
  • above the actual div for the tab.  Do not know how to remove the tab

    Well Yes if you want to hide the tab too then you must surround the

  • tag in a similar way:

  • Audio
  • How to hide a div in IE?

    Is there a way I can hide one of my div for IE users and replace the div with a solid color fill? I have a really cool effect for this project but does not work supports the CSS to make it look really bad in IE, but great in Safari, google chrome, mozilla, and opera even.

    First off, your page should be a doctype - in today's world, there is no excuse for not having a.

    -Change

    
    
    on this subject.
    
    

    and this whole div is hidden in all versions of Internet Explorer.

  • Sow/hide a div hidden

    HI - new to DW CS3 - and I am a user of GoLive.

    I was wondering if there are any actions to show/hide a hidden div and where they could hide or do I need to import shares of JS.

    Thanks for any advice.

    I was looking for the tool/method JS in DW to reveal, such that it is rendered in the browser, a hidden div.

    This is done with a bit of JS.

    DW has a built-in system to achieve this?

    Yes, try this:

    1. Select your item

    2. open the behaviors panel (window > behaviors)

    3. click on [+] button to get the drop-down list, then the effects > appear/fade

    HTH,

    Randy

  • hide the div tags

    I'm tying to hide the text phone and e-mail in the office, but shown in mobile.

    The following code does not work for some reason any? Any suggestions?

    @charset "utf-8";

    {.mobilecontact}

    display: none;

    }

    @media only screen and (min-width: 481px) {}

    {.mobilecontact}

    Display: block;

    }

    }

    Thank you


    Chris

    Bootstrap has some helper classes for this.

    Reference Classes CSS bootstrap Helper

    This content is hidden on the medium & large devices

    Nancy O.

  • Hide the div tags in the media queries

    Hello

    I ran into a bit of a problem trying to get some div tags appear on some devices. I thought that if a div has been set to hidden then it does not appear. I pasted my code below.

    The theory behind my design is to have a different fixed background on the desktop image, Tablet and phone. So I inserted a transparent image on top to control how image is seen on each window.

    "What I try to achieve is when the site is displayed on a desktop ' #large-ipad" is hidden and the ' #-wide image' is seen. "" And then once the site reaches the correct display window i.e. an ipad ' #large-ipad ' becomes visible and the ' #-wide image "is hidden. Then a third image will swap when it is read on a mobile device, but I have not to this article yet.

    When it is viewed on a desktop computer I think it is still showing the image sheets before the roll content.

    This is just a test at the minute, so there is no content and background images are set on my computer. If you don't know what I'm after, please ask and I will try to rephrase my description.

    @media only screen and (min-width: 481px) {}

    {.gridContainer}

    Width: 100%;

    padding-left: 0%;

    padding-right: 0%;

    margin: auto;

    background-attachment: fixed;

    background-image: url(images/bg-ipad.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    -webkit-background-size: cover;

    -moz-background-size: cover;

    -o-background-size: cover;

    background-size: cover;

    }

    {#LayoutDiv1}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 20px;

    padding-bottom: 20px;

    }

    {# image - wide

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    visibility: hidden;

    }

    {#body - text

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 300px;

    padding-bottom: 300px;

    }

    {#large-ipad}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    }

    }

    / * Desktop layout: 769px for a max of 1920px.  Inherits the styles of: Mobile and tablet. */

    @media only screen and (min-width: 769px) {}

    {.gridContainer}

    Width: 100%;

    Max-width: 1920px;

    padding-left: 0%;

    padding-right: 0%;

    margin: auto;

    background-attachment: fixed;

    background-image: url(images/bg-image.jpg);

    background-repeat: no-repeat;

    background-position: top center;

    -webkit-background-size: cover;

    -moz-background-size: cover;

    -o-background-size: cover;

    background-size: cover;

    }

    {#LayoutDiv1}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    height: 70px;

    z-index: 1000;

    background-color: #FFF;

    position: fixed;

    Top: 0px;

    }

    {# image - wide

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    position: static;

    z-index: 0;

    }

    {#body - text

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    background-color: #FFF;

    padding-top: 300px;

    padding-bottom: 300px;

    }

    {#large-ipad}

    Clear: both;

    float: left;

    left margin: 0;

    Width: 100%;

    display: block;

    visibility: hidden;

    overflow: hidden;

    }

    }

    Any help would be massively appreciated I really want the effect I'm after.

    Kind regards

    Alex

    Hi all

    Think I have asked this question a little prematurely. I thought it, just needed to change the None display: display: none;

    Sorry to take your time to read above.

    See you soon,.

    Alex

  • What is the correct syntax to hide a div on the scene within two nested symbols?

    Hi everyone, I recently started using Adobe Edge and had some prior experience with Flash.

    I have a button with a click inside two symbols action that should hide a symbol placed on the stage, which in turn is the symbol of the mother.

    I tried to use the following code, but it did not work:

    SYM.$("STEP1"). Hide();

    Thank you!

    Nuno

    You must get the symbol in order to play, and in the above code, you access its handle jQuery (and not get the symbol). Try this instead:

    sym.getComposition () .getStage ().getSymbol("Step1").play ("Step1_fade");

    HTH,

    Joe

  • Hide / show div

    Hello everyone

    I searched a lot and found nothing! My problem is:
    I have a page with pictures n. There is information related to each image. Yes, the images and information are stored in a query (see code).
    The images appear one after the other, assuming that online. Somewhere on the page I have a div (alone!) in which I would like to show the information related to the image, the mouse moves above. The information should appear onmouseover and disappears onmouseout. OnClick, that I would like that the div is visible.

    I was checking on cfdiv and vflayout, but I did not understand it at all... :-(

    Let's hope at least that my description above is understandable! Otherwise let me know.

    Thank you very much

    You will need to sharpen some of the themes. Start by the following example.

  • Show/hide a Div so that the application process will be executed

    Hi all

    I have the following problem:
    I'm on APEX 3 and I have the page with 2 elements. When the user, enter the value in the first element on the page and navigate out of the element, in the second article should be the SYSDATE.
    This must be done as:
    1. set the fovus in the Item1.
    2. navigate off the Item1 (with TAB or the mouse).
    3 JavaScript function will be executed:
    3.1 icon "Please wait...". "will be displayed.
    3.2 application of getDbDate process will be executed.
    3.3 the value returned by the getDbDate of application process is allowed in the Field2.
    3.4 icon "Please wait...". "disappears.

    Here ist the sample application: http://apex.oracle.com/pls/otn/f?p=MISCELLANEOUS:108

    In Firefox, I have no problems to show the "Please wait...". "Icon, but the Explorer Intener shows me nothing. But the application process will be executed.

    Any ideas?

    Best regards

    Hello

    See the example of CARL
    http://HTMLDB.Oracle.com/pls/OTN/f?p=11933:62

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Need help with the div hidding in browser BB 4.6

    Will give the senario please help me solve this problem...

    I'm trying to hide several divs using javascript... i, e I have 5 DIV tags... If I click on the 1st div tag 2,3,4,5 must hide and the hidden content of 1 will be visible... and if I click 2 div tag 1,3,4,5 hide and content of the 2nd will be visible and so on...



     

         

    view the contents of the 1st...
           Overview
          


       

    show 2 content...
                     Target audience
            

     

    JavaScript

    function display (dry)
    {
    var pg1 = document.getElementById ("click1");
    var pg2 = document.getElementById ("click2");
       
    if(sec=="click1")
    {
    PG1. ClassName = 'visibleRow';
    pg2. ClassName = 'hiddenRow';
    }
         
    else if ("click2" is dry)
    {
    PG1. ClassName = 'hiddenRow';
    pg2. ClassName = 'visibleRow';
    }
    }

    . CSS

    {.hiddenRow}
    display: none;
    visibility: hidden;
    }

    {.visibleRow}
    display:;
    visibility: visible;
    }

    This does not work for the 1st div, but when I click on the 2nd tag div its woring fine

    All solutions?

    I got the solution by myself

    Thanks for all the help

    . CSS will not work if we put the div in two differenttable, so I have kept everything in onenow its works well...

    I had a really hard time to solve this problem

Maybe you are looking for

  • my album is under a different artist profile? Help How do I fix it

    my album is under a different artist profile? Help How do I fix it My artist name is Sandra GONZALEZ, but it shows T - jy, which is another artist, that I don't even know. Help, please

  • No sound after an update from Toshiba

    I followed the instructions of what looked like the official update from Toshiba to uninstall something I don't remember exactly what, but I was directed to the Panel, sysytems and something to do with video, etc, and now I have no sound. System says

  • After the upgrade to Windows 8 on a HP Pavilion dv2799: sound, video, and mouse is stuttering

    My HP Pavilion dv2799 comes with Windows Vista and has always worked very well. However, after I have recently upgraded to Windows 8 32 bit, now sound, video and even the mouse is stuttering. The laptop has a NVIDIA GeForce 8400 M GS, and my approach

  • Update install keeps fault!

    Hi, I was expecting install service pack 2 for vista on my pc so have tried to install the updates so it could be possible. I tried several times repeatedly to install, in vain, update KB2596764. When you pass WindowsUpdate informing me that the inst

  • Problem with the laptop does not connect to wifi.

    I have a new laptop to windows 8 toshiba still in the menu setup and he asked me to choose my wifi so I did and put the password and its says unable to connect to wifi, all other laptops and tablets are connected to wifi I chose but its only the my l