Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Non-Scrolling background; Simple question
Topic Started: Jul 25 2008, 08:33 PM (510 Views)
WereSonic
Member
 *  
Okay, I used to have a board but I think I got rid of it for some reason. I just had a simple question and I was wondering what I had to put in my code to get a non-scrolling picture. I've done it before, I just can't remember codes ^^; Can someone please help me?
Offline Profile Quote Post Goto Top
 
Robert Charron
Member Avatar
I was popular here once.
 *   *   *   *   *  
Well, to do this is quite simple. In your Admin Control Panel go to Manage Style Sheets.

In the BODY { } Section you want to add:

Code:
 
Background-attachment: fixed;


For example, if I wanted to take the default scheme, and add a non-scrolling background of this Batman picture, I would simply put:

Code:
 
BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; margin:0px 10px 0px 10px; background-image: url('http://catallaxyfiles.com/wp-content/uploads/2007/02/batman-color.jpg'); background-repeat: no-repeat; background-attachment: fixed; }


Hope that helps :)

edit: I put it on a test board, you can view it Here if you wish.
Edited by Robert Charron, Jul 26 2008, 12:17 AM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards - Skinning & Code Support · Next Topic »
Add Reply