View Full Version : code


BrunetteBarbie9
03-08-2003, 07:56 PM
Does anyone have a code I can use that allows only the text on the page to scroll? I want my background image to stay put and have only the text scroll on my page when I scroll up and down.

pepper
03-08-2003, 08:03 PM
i don really know but i think u could use a frame containing the image that doesnt scroll and another containing the text u wanna scroll

COBOLdinosaur
03-08-2003, 08:27 PM
<HTML>
<HEAD>
<TITLE> Fixed background using styles <TITLE>
<STYLE TYPE="text/css">
BODY { background-repeat:no-repeat;background-attachment:fixed;
background-position:left top;background-image:url(blah.jpg) }
</STYLE>
</HEAD>
<BODY>
etc...

The background-position can left/center/right for x axis and
top/center/bottom for the y axis.