Log in

View Full Version : fixed top and left bar for IE/windows



yutewa00
08-04-2006, 04:30 PM
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 (http://tagsoup.com/-dev/null-/css/fixed/top-left/0-0-0) 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 ?

waynep
08-04-2006, 04:49 PM
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

blm126
08-04-2006, 06:09 PM
Is there a reason you have the following code in the <body> tag instead of the <head> tag


<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" />

Twey
08-04-2006, 06:28 PM
Neither STYLE nor LINK should be in the BODY element.

You should always validate (http://validator.w3.org/check?uri=http%3a%2f%2fwww%2ee-hybrid%2enet%2f) your page before trying to debug it (or asking someone else to debug it for you).

yutewa00
08-05-2006, 11:02 AM
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 :(