alwaysdrawing
New Member
- Messages
- 7
- Reaction score
- 0
- Points
- 0
I'm not very familiar with programming, but I want to fix a background image to the center of a webpage. I'm believe I have the right code, but it's still not working. Does anyone know my problem?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Ringtail</title>
<style type="text/css">
<!--
body {
background-color: #000000;
background-image: url(ringtail_bg.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center top;
}
.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #A7080C; }
-->
</style>
</head>
<body>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Ringtail</title>
<style type="text/css">
<!--
body {
background-color: #000000;
background-image: url(ringtail_bg.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center top;
}
.style8 {font-family: Geneva, Arial, Helvetica, sans-serif; color: #A7080C; }
-->
</style>
</head>
<body>
</body>
</html>