i am making this website
www.phoenix-dce.com
tha page displays correctly on firefox/chrome but goes haywire on IE6
Please help me debug this thing(its really urgent)
i am posting the basic layout(html ans css) for all pages (except for home page)
www.phoenix-dce.com
tha page displays correctly on firefox/chrome but goes haywire on IE6
Please help me debug this thing(its really urgent)
HTML:
<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sponsors - Phoenix '09</title>
<link rel="stylesheet" type="text/css" href="layout.css" />
<link rel="stylesheet" type="text/css" href="menu.css" />
<link rel="stylesheet" type="text/css" href="home.css" />
<link rel="stylesheet" type="text/css" href="event_menu.css" />
<link rel="stylesheet" type="text/css" href="head.css" />
<link rel="stylesheet" type="text/css" href="left.css" />
</head>
<body>
<div id="container">
<div id="main_content">
<div id="head"></div>
<div id="main_menu"></div>
<div id="event_menu">
<div id="event_menu_container">
<script language="JavaScript" src="event_menu.js">/script>
</div>
</div>
<div id="left">
<script language="JavaScript" src="login.js"></script>
<div id="msg"></div>
<div id="login_form"></div>
<div id= "user_details"></div>
<div id="register"> </div>
</div>
<div id="right">
<div id="update">
</div>
</div>
<div id="content">
For enquireis and suggestions contact:
</div>
<div id="clearfooter"></div>
</div>
<div id="footer">
<?php include_once('footer.php');?>
</div>
</div>
</body>
</html>
Code:
//layout.css
html
{
width:100%;
height:100%;
}
*html {text-align:center}
*html #container {text-align:left}
body
{
width:100%;
height:100%;
background: #000000 url(bg2.jpg) center repeat-y;
color: #FFFFFF;
}
#container
{
position:relative;
width: 920px;
margin-left:auto;
margin-right:auto;
/*background: #CCCCCC ;*/
}
#main_content
{
position:relative;
margin:0 25%;
margin-bottom:-100px;
/*border: #CCCCFF thin solid;*/
}
#head
{
position:relative;
top:0;
margin: 0 -230px;
height:200px;
background: url(logoFinal.jpg) no-repeat center;
z-index:6;
}
#main_menu
{
position:relative;
/*
margin-left: -50%;
margin-right: -50%;
*/
margin-left: -230px;
margin-right: -230px;
height:70px;
/*background: #CCFFCC;*/
z-index:6;
}
#event_menu
{
position:relative;
/*margin:0 -50% 0 -50%;*/
margin-left: -230px;
margin-right: -230px;
height:60px;
border-bottom:#666666 5px ridge;
/*background: url(line2.jpg) center bottom no-repeat;*/
z-index:6;
}
#left
{
position: relative;
margin-left: -230px;
float:left;
min-width:200px;
width:230px;
/*background: #FFFFCC;*/
z-index:6;
}
#content
{
padding-top:30px;
/*background: url(contentbg.jpg) repeat-y center;*/
z-index:7;
overflow:visible;
}
#right
{
position:relative;
margin-right: -230px;
float:right;
min-width:200px;
width:50%;
/*background: #99CCFF;*/
z-index:5;
}
#clearfooter
{clear:both;height:100px;}
#footer
{
position: relative;
clear:both;
width:915px;
height: 90px;
margin-left:auto;
margin-right:auto;
border-top: #666666 5px ridge;
z-index:7;
font-weight:bold;
}