Results 1 to 2 of 2

Thread: Page not looking right in IE6! Please Help!

  1. #1
    Join Date
    Jul 2006
    Posts
    3

    Page not looking right in IE6! Please Help!

    My site is looking exactly the way I want it to look in mozilla - http://www.wildeimagination.com/default.aspx?skinid=3

    However when I switch to IE6 the bg overlay image that I have on there seems to be getting pushed down by something at the top of the screen which is throwing the whole page off. Could someone please help me out with this. Thanks!

    Here is the css code I am using for the tree overlay image:
    #WrapperOverlay {
    width: 1000px;
    height: 838px;
    margin: 0;
    top: 0;
    padding: 0 0 0 0;
    background: url("/images/bg_overlay.png");
    background-repeat: repeat-none;
    background-position:center top;
    background-attachment:scroll;
    position:relative;
    z-index: 5;
    }

    *html #WrapperOverlay {
    display: block;
    cursorointer;
    background:none;
    filterrogidXImageTransform.Microsoft.AlphaImageLoader(src='/images/bg_overlay.png', sizingMethod='image');
    }

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    To be honest, there's a lot wrong with your page but I have done the minimum to get it to display as you want.

    Add a doctype right at the top of the html page before the <html> tag:-
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    The tree outline needs to be at the top left of the screen so I moved the start of the div to just after the wrapper div so that it starts higher up and encloses the lower divs:-

    .........<div id="wrapper">

    <div id="WrapperOverlay">

    <div id="TopText">........

    but the closing tag is still in the same place:-

    .............</form>
    </div>

    <!--<div id="WrapperOverlay2">opening tag moved up near top-->

    </div> <!--end of #WrapperOverlay-->

    <div id="footer">..........

    Some changes were needed in the css file:-

    adding left:0 in #WrapperOverlay

    #WrapperOverlay {
    width: 1000px;
    height: 838px;
    margin: 0;
    top: 0; left: 0; /*left added*/
    padding: 0 0 0 0;
    background: url("/images/bg_overlay.png");
    background-repeat: repeat-none;
    background-position:center top;
    background-attachment:scroll;
    position:relative;
    z-index: 5;
    }

    and I raised the #Mailing List:-

    #MailingList {
    width: 174px;
    height: auto;
    padding: 0 0 0 0;
    position:relative;
    top: 700px;/*was 850px;*/
    left: 10px;
    z-index: 15;
    }

    It seems to be OK in IE6, IE7, Firefox, Opera and Safari for Windows.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. CMS advice (php)
    By Littlened in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 07 Jul 2007, 05:02 AM

Posting Permissions

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