PDA

View Full Version : no scroll backgrounds again


rosends
04-09-2003, 03:01 AM
ok...I got the no repeat thing to work on many pages, but one isn't working (interestingly, it is the one NOT made in msword...)

Would someone take a quick look and tell me where to place the code?

www.mydiningroom.com/drinks.html


<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>drinks</TITLE>
<META NAME="Version" CONTENT="8.0.3410">
<META NAME="Date" CONTENT="10/11/96">
<META NAME="Template" CONTENT="C:\Program Files\Microsoft Office\Office\HTML.DOT">
<body{
background-color:#ffffff;
background-image:url("leftframeback.gif");
background-repeat: repeat;
background-position: center;
background-attachment: fixed;
}></HEAD>

Thanks
Dan

pardicity3
04-09-2003, 03:11 AM
Your code should look more like this:


<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>drinks</TITLE>
<META NAME="Version" CONTENT="8.0.3410">
<META NAME="Date" CONTENT="10/11/96">
<META NAME="Template" CONTENT="C:\Program Files\Microsoft Office\Office\HTML.DOT">
<style type="text/css">
<!--
body {
background-color:#ffffff;
background-image:url("leftframeback.gif");
background-repeat: repeat;
background-position: center;
background-attachment: fixed;
}
-->
</style>

</HEAD>


You do not need to try and put this code in the actual <body> tag. It would appear that maybe a short course on CSS over at http://www.w3schools.com/css/ may help you out. It would only take a couple minutes to learn how to implement CSS correctly.

rosends
04-09-2003, 03:19 AM
perfect! thanks!

pardicity3
04-09-2003, 03:28 AM
Yep yep, no problem. And seriously, check out that link if you can...trust me, you will love yourself for doing it someday.