Forum Moderators: not2easy
What are you doing on the pages? I have never seen these problems. Do you have a breif style example?
Position: relative, to me, is pretty much useless as a style; why do you ever use it?
Note, this is only a snippet of the code... there is much more happening but this shows the case I'm referring to.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset:utf-8">
<title></title>
<style type="text/css">
/* * * * * * Begin main Layout * * * * * */
body
{
background-color: #fff;
margin: 0;
padding: 0;
text-align: center;
}
#container
{
position: relative;
margin: 0 auto;
padding: 0;
width: 770px;
text-align: left;
}#intro
{
background: #fff;
float: left;
margin-right: 10px;
width: 180px;
}#block2
{
position: relative;
background: #ddd;
margin: 10px 0 10px 190px;
padding: 0;
width: 580px;
}
* html #block2
{
float: right;
margin-left: 0;
}#block2 h3
{
background: #f00; /* This doesn't work in IE unless position relative */
margin: 0;
padding: 5px 10px;
}
* html #block2 h3
{
/*
position: relative;
margin-top: -1px;
*/
}
</style></head>
<body>
<div id="container"><div id="intro">
<div class="wrapper">
<h1><span>Foo</span></h1>
</div>
</div>
<div id="content">
<div id="block2">
<div class="wrapper">
<h3><span>Welcome</span></h3>
</div>
</div>
</div></div>
</body>
</html>