Results 1 to 5 of 5

Thread: fixed top and left bar for IE/windows

  1. #1
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default fixed top and left bar for IE/windows

    Hello I'm building site http://www.e-hybrid.net and I have serious problems with IE. I need header and sidebar to be fixed and content to be scrolable. As you can see it's working just fine for FireFox but in IE it is a mess. I tryed with this but it's not working for me I will be very happy if someone can tell me what's the problem and Im prepared to give reward. I have some place on my reseller account. cPanel hosting. Please help

    Edit : Why I need to have body padding 12em in my windows localhost (I use easyphp) and on the server (linux) I dont have to have it ?
    Last edited by yutewa00; 08-04-2006 at 04:40 PM.

  2. #2
    Join Date
    Aug 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    the demo you posted from tag soup works in IE and FF.. so maybe try starting from scratch again, copy the code in the demo and start again, then keep testing untill it doesnt work in ie, then you will of found your problem. hope that helped



    __________________________________
    http://www.mediapixel.co.uk

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Is there a reason you have the following code in the <body> tag instead of the <head> tag
    Code:
    <style type="text/css">
    <!--
    .style8 {font-family: Arial, Helvetica, sans-serif}
    .style11 {color: #FF8800}
    .style12 {
    	font-family: "Times New Roman", Times, serif;
    	color: #FF8800;
    	font-weight: bold;
    	font-style: italic;
    	font-size: large;
    }
    .style14 {
    	font-family: "Times New Roman", Times, serif;
    	font-size: 14px;
    }
    .style15 {
    	font-family: Tahoma;
    	font-size: 14px;
    }
    .style16 {font-size: 14px}
    .style21 {font-size: 18px}
    .style22 {font-size: 42px}
    .style24 {color: #FF8800; font-size: 24px; }
    .style25 {font-family: "Times New Roman", Times, serif; font-size: 18px; }
    -->
    </style>
    <link href="../conf/style.css" rel="stylesheet" type="text/css" />

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Neither STYLE nor LINK should be in the BODY element.

    You should always validate your page before trying to debug it (or asking someone else to debug it for you).
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jul 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    wow I didn't noticed that .. Subpages were done by someone else and because i have php include for content that styles came in the body. well I'll try start from scratch again for a fourth time now .. I just dont get it :S what's wrong

Bookmarks

Posting Permissions

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