Articles Tutorials Work at Home Entrepreneurs, Webmasters, Small Business Owners
Articles Tutorials Work at Home Entrepreneurs, Webmasters, Small Business Owners
Articles & Tutorials for Work at Home Entrepreneurs
Webmasters and Small Business Owners
Get More >

Newest Articles 
Search Engine Marketing
Internet Marketing
Affiliate Marketing
Email Marketing
Viral Marketing
Webmaster Resources
Business Resources
Make More Money
Web Design
Graphic Design
Color Theory
Product Reviews
Time Management
Business Ethics
Promotional Strategies
Glossary of Terms
Direct Mail Marketing
Product Sourcing

Link to Us!

Email this article  :  Printer friendly page

Fix Your Background Image and Scroll Your Page Text

View Live ExampleA neat little CSS trick in Microsoft Internet Explorer and Netscape 6+ is to fix your background image which ultimately appears as though your page text is scrolling in a different manner than usual. View the Example Here

How is it done? Here is the dirty little secret, and we have no problem sharing these type trade secrets with our loyal visitors and members. ;)

If you are using an external style sheet (also known as "linked") and you want ALL of your web pages to use this effect, place the following code within your external stylesheet body tag:

body { background-attachment: fixed;
background-image: url(imagename.gif);
background-repeat: repeat;}

If you want to use this effect only on a handful of pages, use the internal style sheet method, by placing this code between your HEAD tags.

<style type="text/css">
background-repeat: repeat;
background-attachment: fixed;

If you are not familiar with the different methods of CSS and how or when to use them, be sure to read our article, "External, Internal or Inline? Which Method is Best?"

If you do not want your background image to tile (repeat), change the code as shown below:
background-repeat: no-repeat;

This is also an effective way to watermark your pages. Reference our article, "Watermarks with CSS".

Copyright © 1994-2006 by, a division of, CSS HTML Web Site Templates with Exernal CSS and Removable Graphics. If you found our articles helpful, subscribe to our newsletter and get articles like this delivered to your inbox - FREE.

Order soon and get up to 5 FREE domains & more!
Host 6 Domains on 1 Account
5000MB and 400GB for $6.95 a month!


Page copy protected against web site content infringement by Copyscape
All articles are originally authored by Reprints in whole or in part are not permitted. See Copyright Notice

Copyright © 1994-2006, a division of, Web Site Templates with External CSS
The Internet's #1 Choice for HTML CSS Web Templates via a Membership. Designed using External CSS and Removable, Swap-Out Graphics.
Basic Web Templates | Website Templates | HTML CSS Templates | Web Design Templates | Web Site Templates