7 Replies Latest reply on Nov 2, 2008 9:37 AM by LArden

    HTML or PHP visibility div tag problem in IE

    LArden Level 1
      Hi,
      I have a PHP search function on a travel site a programmer did for me. When you look at it in FF and Safari, it looks fine. But in IE, there is a big blank space where the calendar function goes. He has the div tag set to visibility:hidden. Any ideas how to make it look right in IE as well?? Any help would be appreciated! The PHP code is below:

      He thinks the problem is here in this part of the code:

      <div id="kalendar" style="visibility:hidden; width:0px; height:0px; border:0;">
      //then goes some tables
      </div>

      Any help would be much appreciated...we are stumped!

      Thanks
        • 1. Re: HTML or PHP visibility div tag problem in IE
          Level 7
          Change this -

          visibility:hidden;

          to this -

          display:none;

          But you will probably have to modify your routine that is making that
          element be visible to change its usages.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "Lvanhoff" <webforumsuser@macromedia.com> wrote in message
          news:geib9s$1ka$1@forums.macromedia.com...
          > Hi,
          > I have a PHP search function on a travel site a programmer did for me.
          > When
          > you look at it in FF and Safari, it looks fine. But in IE, there is a big
          > blank
          > space where the calendar function goes. He has the div tag set to
          > visibility:hidden. Any ideas how to make it look right in IE as well??
          > Any
          > help would be appreciated! The PHP code is below:
          >
          > He thinks the problem is here in this part of the code:
          >
          > <div id="kalendar" style="visibility:hidden; width:0px; height:0px;
          > border:0;">
          > //then goes some tables
          > </div>
          >
          > Any help would be much appreciated...we are stumped!
          >
          > Thanks
          >

          • 2. Re: HTML or PHP visibility div tag problem in IE
            LArden Level 1
            Thanks...I'll give it a try...thanks so much as always for the fast response!
            • 3. Re: HTML or PHP visibility div tag problem in IE
              LArden Level 1
              Murray,
              As always you are a genius :-)

              The only problem I still have, and only in IE, not FF, is that the drop down menus are cutting part of themselves off...any idea why?
              http://www.bluehippotravel.com/surfingvacations
              Top left...see how the arrows are cut off on the drop downs?

              Not sure if its ok to post to page??

              I didn't do this part of the page...so not sure how it was done...
              Does this tell you anything?

              <table bgcolor="#f7ebb3" class="search" style="table-layout: fixed; padding:0px" border="0">
              <tr><td colspan="4" width="auto">
              <select size="1" class="search" id="country" onchange="javascript:listajzemlje(this.value)">
              <?php
              drzave();
              ?>
              </select>
              </td></tr>
              <tr><td colspan="4" width="auto">
              <div id="state1">
              <input type="hidden" id="state" value="" >
              <input type="hidden" id="city" value="" >

              </div></td></tr>
              <tr>


              <td colspan="4" width="auto">
              <input class="search" id="hotel" name="hotel" value=" Hotel name (optional)" />



              <tr><td colspan="4" style="cursor:pointer;" onClick="showKalendar()" class="search" >

              <img class="search" src="images/btn-hotelmenu-searchbydate.jpg" alt="Search by date (optional) ">
              </td></tr>
              <tr><td colspan="4">
              <div id="kalendar" style="display:none; width:0px; height:0px; border:0;layout:fixed">

              <table border="0" class="submenucolor" align="center" width="auto">

              <tr>
              <td></td><td></td>
              <td class="HotelSearchMenu" colspan="2" align="right">In:<?
              $aCalendarParams=array(
              "sIconPath" => "./img/calendar.png",
              "iAction" => 1, //0=>reloadCurrentPage with get param sDate, 1=>fill field sFieldName
              "sFieldName" => "DPC_date1",
              "iStyle" => 1, //0=>display calendar, 1=>display div on icon click
              "aMonthNames" => $aMonthNames["EN"],
              "aDaysNames" => $aDaysNames["EN"],
              "sDateFormat" => $sDateFormat["EN"]

              );
              new oCalendarPicker("calFixe1",$sDate,$aCalendarParams);
              ?></td>





              </tr>


              Thanks!
              • 4. Re: HTML or PHP visibility div tag problem in IE
                Level 7
                > http://www.bluehippotravel.com/surfingvacations

                404 on that link.

                > Does this tell you anything?

                Unfortunately, yes. The person who coded this has no sense of best practice
                in HTML authoring....

                I'd like to see the page in the wild if I could - can you investigate the
                404, please?

                --
                Murray --- ICQ 71997575
                Adobe Community Expert
                (If you *MUST* email me, don't LAUGH when you do so!)
                ==================
                http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                ==================


                "Lvanhoff" <webforumsuser@macromedia.com> wrote in message
                news:geilfh$e2r$1@forums.macromedia.com...
                > Murray,
                > As always you are a genius :-)
                >
                > The only problem I still have, and only in IE, not FF, is that the drop
                > down
                > menus are cutting part of themselves off...any idea why?
                > http://www.bluehippotravel.com/surfingvacations
                > Top left...see how the arrows are cut off on the drop downs?
                >
                > Not sure if its ok to post to page??
                >
                > I didn't do this part of the page...so not sure how it was done...
                > Does this tell you anything?
                >
                > <table bgcolor="#f7ebb3" class="search" style="table-layout: fixed;
                > padding:0px" border="0">
                > <tr><td colspan="4" width="auto">
                > <select size="1" class="search" id="country"
                > onchange="javascript:listajzemlje(this.value)">
                > <?php
                > drzave();
                > ?>
                > </select>
                > </td></tr>
                > <tr><td colspan="4" width="auto">
                > <div id="state1">
                > <input type="hidden" id="state" value="" >
                > <input type="hidden" id="city" value="" >
                >
                > </div></td></tr>
                > <tr>
                >
                >
                > <td colspan="4" width="auto">
                > <input class="search" id="hotel" name="hotel" value=" Hotel name
                > (optional)" />
                >
                >
                >
                > <tr><td colspan="4" style="cursor:pointer;" onClick="showKalendar()"
                > class="search" >
                >
                > <img class="search" src="images/btn-hotelmenu-searchbydate.jpg"
                > alt="Search by
                > date (optional) ">
                > </td></tr>
                > <tr><td colspan="4">
                > <div id="kalendar" style="display:none; width:0px; height:0px;
                > border:0;layout:fixed">
                >
                > <table border="0" class="submenucolor" align="center" width="auto">
                >
                > <tr>
                > <td></td><td></td>
                > <td class="HotelSearchMenu" colspan="2" align="right">In:<?
                > $aCalendarParams=array(
                > "sIconPath" => "./img/calendar.png",
                > "iAction" => 1, //0=>reloadCurrentPage with get param sDate,
                > 1=>fill
                > field sFieldName
                > "sFieldName" => "DPC_date1",
                > "iStyle" => 1, //0=>display calendar, 1=>display div on icon
                > click
                > "aMonthNames" => $aMonthNames["EN"],
                > "aDaysNames" => $aDaysNames["EN"],
                > "sDateFormat" => $sDateFormat["EN"]
                >
                > );
                > new oCalendarPicker("calFixe1",$sDate,$aCalendarParams);
                > ?></td>
                >
                >
                >
                >
                >
                > </tr>
                >
                >
                > Thanks!
                >

                • 5. Re: HTML or PHP visibility div tag problem in IE
                  Level 7
                  Murray *ACE* wrote:
                  >> http://www.bluehippotravel.com/surfingvacations
                  >
                  > 404 on that link.
                  >
                  >> Does this tell you anything?
                  >
                  > Unfortunately, yes. The person who coded this has no sense of best
                  > practice in HTML authoring....
                  >
                  > I'd like to see the page in the wild if I could - can you investigate
                  > the 404, please?
                  >
                  Murray, try adding either .php or .html to the url.

                  Harvey
                  • 6. Re: HTML or PHP visibility div tag problem in IE
                    Level 7
                    OK - so now we have it narrowed down to two possible pages. Which?

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    ==================


                    "eclipsme" <none@nowhere.com> wrote in message
                    news:gek9kc$iea$2@forums.macromedia.com...
                    > Murray *ACE* wrote:
                    >>> http://www.bluehippotravel.com/surfingvacations
                    >>
                    >> 404 on that link.
                    >>
                    >>> Does this tell you anything?
                    >>
                    >> Unfortunately, yes. The person who coded this has no sense of best
                    >> practice in HTML authoring....
                    >>
                    >> I'd like to see the page in the wild if I could - can you investigate the
                    >> 404, please?
                    >>
                    > Murray, try adding either .php or .html to the url.
                    >
                    > Harvey

                    • 7. Re: HTML or PHP visibility div tag problem in IE
                      LArden Level 1
                      Thanks...It seems to be fixed now :-) Thanks so much.