mAYBE I am a bit rust but my following seems to display ok in firefox chrome but doesn't even work in IE maybe something simple i am missing as I am very rusty.

#topholder {
 position: absolute;
 top: 0px;
 left: 0px;
 width: 100%;
 height: 120px;
 display:block;
 z-index:0;
 background: transparent;	
 border: 1px solid #336699;
 padding: 0px 0px 0px 0px;
}
#menuholder {
 position: absolute;
 top: 120px;
 left: 0px;
 width: 100%;
 height: 30px;
 display:block;
 z-index:0;
 background: transparent;	
 border: 1px solid #336699;
 padding: 0px 0px 0px 0px;
}
#leftholder {
 position: absolute;
 top: 150px;
 left: 0px;
 width: 13%;
 height: 30px;
 display:block;
 z-index:0;
 background: transparent;	
 border: 1px solid #336699;
 padding: 0% 1% 0% 1%;
}
#centerholder {
 position: absolute;
 top: 150px;
 left: 15%;
 width: 66%;
 height: 30px;
 display:block;
 z-index:0;
 background: transparent;	
 border: 1px solid #336699;
 padding: 0% 2% 0% 2%;
}
#rightholder {
 position: absolute;
 top: 150px;
 left: 85%;
 width: 13%;
 height: 30px;
 display:block;
 z-index:0;
 background: transparent;	
 border: 1px solid #336699;
 padding: 0% 1% 0% 1%;
}
#footerholder {
 position: absolute;
 bottom: 0px;
 left: 0px;
 width: 100%;
 height: 30px;
 line-height:30px;
 display:inline;
 z-index:0;
 text-align:center;
 background: transparent;	
 border: 1px solid #336699;
 padding: 0px 0px 0px 0px;
}

and the html

<?php
session_start();
ini_set ("display_errors", "1");
error_reporting(E_ALL);
$pgid = stripslashes($_SERVER['PHP_SELF']);
$pattern = '/\//';
$newpageid = preg_replace($pattern,'', $pgid);
$pageid = $newpageid;
$ipaddress = $_SERVER['REMOTE_ADDR'];

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<link type="text/css" rel="stylesheet" href="css/index.css">


</head>
<body>

<div id="topholder" name="topholder">
top
</div>

<div id="menuholder" name="menuholder">
menu
</div>

<div id="leftholder" name="leftholder">
left
</div>

<div id="centerholder" name="centerholder">
center
</div>

<div id="rightholder" name="rightholder">
right
</div>

<div id="footerholder" name="footerholder">
footer
</div>

</body>
</html>

Recommended Answers

All 2 Replies

Well first, you don't need a name on your divs. Second, what "part" is not showing up in IE? The page doesn't show any of the styles or just a particular element on the page is not showing the same?

Well first, you don't need a name on your divs. Second, what "part" is not showing up in IE? The page doesn't show any of the styles or just a particular element on the page is not showing the same?

IE wasn't showing any css what so ever all of a sudden it has started showing ok now wierd!! I have put name on my divs as i shall be using AJAX and I have come upon instances where i need id and name

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.