CSS Tutorial - Example of Background Attributes

With A Fixed Background

Back to Tutorial Page

The Html code for the body tag on this page looks like this:
<STYLE>
<!--
BODY
{background-image: url("til03v12.jpg");
background-attachment: fixed;
background-color:#99EEDD;
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 14pt;
color:#000000;}
-->
</STYLE>
This additional text has been placed here to demonstrate how the background image on this page is set to "fixed" so that the background image will not scroll as you scroll down the page.



  Page 1 of 1  
Page added on 09-30-2001