Just Believe
10-17-2007, 01:54 PM
Every time I position my id="banner2", internet explorer 7 seems to reinvent where the origin on the page is to the middle-center this is SO frustrating.
CSS page:
#main
{
position: absolute;
left: 0px;
top: 230px;
width: 840px;
background-color:rgb(36, 82, 90);
font-family: serif;
color: white;
font-size:12pt;
border: 2px solid white;
padding: 10px;
}
#links
{
position: absolute;
left: 30px;
top: 0px;
width: 140px;
background-color: rgb(36, 82,90)
}
#links a
{
display: block;
font-family: serif;
color: white;
font-size: 16pt;
border: 1px solid white;
text-decoration:none
}
#banner
{
position: absolute;
left: 200px;
top: 20px;
border: 1px solid white
}
body
{
background-color:rgb(99,166,177)
}
HTML page:
<html>
<head>
<title>my page</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
</head>
<body>
<div id="banner"><img src="banner.gif"></div>
<div id="banner2"><img src="banner2.gif"</div>
</body>
<div>CONTENT</div>
</html
#banner2 is included in the styles sheet, i just didn't have room to post that.
CSS page:
#main
{
position: absolute;
left: 0px;
top: 230px;
width: 840px;
background-color:rgb(36, 82, 90);
font-family: serif;
color: white;
font-size:12pt;
border: 2px solid white;
padding: 10px;
}
#links
{
position: absolute;
left: 30px;
top: 0px;
width: 140px;
background-color: rgb(36, 82,90)
}
#links a
{
display: block;
font-family: serif;
color: white;
font-size: 16pt;
border: 1px solid white;
text-decoration:none
}
#banner
{
position: absolute;
left: 200px;
top: 20px;
border: 1px solid white
}
body
{
background-color:rgb(99,166,177)
}
HTML page:
<html>
<head>
<title>my page</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
</head>
<body>
<div id="banner"><img src="banner.gif"></div>
<div id="banner2"><img src="banner2.gif"</div>
</body>
<div>CONTENT</div>
</html
#banner2 is included in the styles sheet, i just didn't have room to post that.