Jenny_Jonesy
05-01-2005, 08:28 PM
Below are my codes, I have no idea how to position my backround Image and where to put it in my codes. I would like it to be positioned in the top left hand courner, and goes underneath my iFrame. I have no idea where to put the code in my CSS, or if I have put it in the wrong place, why isn't it working? Thanks xxx
<html>
<head>
<title>Your #1 website for James Bourne New Band</title>
<style type="text/css">
<TITLE>First Ever James Bourne New Band Website</TITLE>
<META NAME="description" CONTENT="This is the first ever Fansite for James Bournes's New Band, that he made after splitting from Busted.">
<META NAME="keywords" CONTENT="James Bourne New Band after Busted McFly Pop Punk Rock Charlie Matt Willis Fightstar">
<META NAME="author" CONTENT="Jennifer (Jonesy)">
</head>
<body>
<title>James Bourne's New Band</title>
body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
#header {
margin: 20px;
padding: 10px;
height: 120px;
}
#left {
position: absolute;
left: 15px;
top: 160px;
width: 200px;
}
#center {
top: 0;
margin-left: 170px;
margin-right: 240px;
}
#right {
position: absolute;
right: 15px;
top: 160px;
width: 200px;
}
body
{
scrollbar-face-color : #AA3EE0;
scrollbar-highlight-color : #78BED3;
scrollbar-3dlight-color : #C800EB;
scrollbar-shadow-color : #999AD3;
scrollbar-darkshadow-color : #5D5CDC;
scrollbar-track-color : #6BB6EB;
scrollbar-arrow-color : #2A8ED5;
}
{ background: #000000;
background-image: url(http://uk.geocities.com/undesided_idiot/Image9.jpg);
background-repeat: no-repeat;
background-position: topI leftII;
background-attachment: fixed;}
A:link {text-decoration: none; color:#AF7681;}
A:visited {text-decoration: none; color:#1B83EB;}
A:hover {text-decoration: none; color:#A357CC;}
</style>
<body>
<div id="header">
<img style="position:absolute; top:0px; left:0px; width:974px;
height:120px" src="http://uk.geocities.com/undesided_idiot/header3.jpg">
</div>
<div id="left">
</div>
<div id="center"><IFRAME name="inlineframe" src="http://uk.geocities.com/undesided_idiot/second.html" width=570 height=1000 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME></div>
<div id="right">
</div>
</body>
</html>
<html>
<head>
<title>Your #1 website for James Bourne New Band</title>
<style type="text/css">
<TITLE>First Ever James Bourne New Band Website</TITLE>
<META NAME="description" CONTENT="This is the first ever Fansite for James Bournes's New Band, that he made after splitting from Busted.">
<META NAME="keywords" CONTENT="James Bourne New Band after Busted McFly Pop Punk Rock Charlie Matt Willis Fightstar">
<META NAME="author" CONTENT="Jennifer (Jonesy)">
</head>
<body>
<title>James Bourne's New Band</title>
body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
#header {
margin: 20px;
padding: 10px;
height: 120px;
}
#left {
position: absolute;
left: 15px;
top: 160px;
width: 200px;
}
#center {
top: 0;
margin-left: 170px;
margin-right: 240px;
}
#right {
position: absolute;
right: 15px;
top: 160px;
width: 200px;
}
body
{
scrollbar-face-color : #AA3EE0;
scrollbar-highlight-color : #78BED3;
scrollbar-3dlight-color : #C800EB;
scrollbar-shadow-color : #999AD3;
scrollbar-darkshadow-color : #5D5CDC;
scrollbar-track-color : #6BB6EB;
scrollbar-arrow-color : #2A8ED5;
}
{ background: #000000;
background-image: url(http://uk.geocities.com/undesided_idiot/Image9.jpg);
background-repeat: no-repeat;
background-position: topI leftII;
background-attachment: fixed;}
A:link {text-decoration: none; color:#AF7681;}
A:visited {text-decoration: none; color:#1B83EB;}
A:hover {text-decoration: none; color:#A357CC;}
</style>
<body>
<div id="header">
<img style="position:absolute; top:0px; left:0px; width:974px;
height:120px" src="http://uk.geocities.com/undesided_idiot/header3.jpg">
</div>
<div id="left">
</div>
<div id="center"><IFRAME name="inlineframe" src="http://uk.geocities.com/undesided_idiot/second.html" width=570 height=1000 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME></div>
<div id="right">
</div>
</body>
</html>