Results 1 to 2 of 2

Thread: Website crashes Internet Explorer

  1. #1

    Website crashes Internet Explorer

    Hi,
    I hope I'm posting in the right place.......
    I'm having problems with a website I am building which uses .php. I'm quite a newbie at .php so am using this site as a learning exercise.

    I've built the site and uploaded it to my test server but when I view it both Internet Explorer 6+7 crashes. The site previews fine in both Firefox and Safari but not IE? I've posted here because I think it must be something to do with the .php I've used.

    This is the code from index.php:

    <?php
    require_once ('head.php');
    ?>

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    // Your code here
    });
    </script>

    </head>

    <body>

    <div id="wrapper">
    <!-- Masthead Section -->
    <div id="masthead">

    <div id="logo">
    </div>

    <div id="navContainer">
    <ul>
    <li>We're with you every step of the way...</li>
    <li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
    <li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>
    <li><img src="images/curved_corner_image.jpg" alt="temporary image placemarker" /></li>

    </ul>

    <?php
    require_once ('navigation.php');
    ?>
    </div>

    </div>

    <!-- Flash Section -->

    <div id="flash">
    </div>

    <!-- Content Section -->

    <div id="content_box">

    <div class="bottom_left">
    <div id="content_header">
    <h2>Welcome...</h2>
    <img src="images/content_image_marker.jpg" alt="image placemarker" />
    </div>
    <div id="content_text">
    </div>


    <div class="bottom_right">
    </div>
    </div>
    </div>
    <!-- Footer -->
    <?php
    require_once ('footer.php');
    ?>


    The I'm sure the problem isn't anything to do with JQuery link I've also added as I tested without that and it still crashed. I validated my HTML and it all validates correctly so I don't understand.

    You can view my site at:
    http://www.admgroup.entadsl.com/cristal_clear/index.php

    and if you view the source using Firefox it brings in the .php without any problems. Does anyon know why this is happening?

    Thanks
    Kirsty

  2. #2
    Join Date
    Feb 2004
    Posts
    28
    Hi Kristy.

    It looks like the problem is in height:expression... property for #wrapper in your style.css. Try to remove the height:expression... property to verify.
    2WDH.com .:. Professional Hosting since 2003

Similar Threads

  1. Select box java script works in firefox, not internet explorer
    By moww in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 15 Sep 2007, 10:23 PM
  2. Problems with Internet Explorer
    By camdes in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 01 Jun 2006, 02:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •