NSFCD

Generally Speaking => Power On => Topic started by: JrDude on December 06, 2007, 06:57:04 PM

Title: How Do I Make A Pic My Background?
Post by: JrDude on December 06, 2007, 06:57:04 PM
For My Profile?
??? ???
Title: Re: How Do I Make A Pic My Background?
Post by: Zovistograt on December 06, 2007, 06:58:03 PM
you use hax

or...maybe a body tag
Title: Re: How Do I Make A Pic My Background?
Post by: bluaki on December 06, 2007, 06:59:28 PM
<style>body {
  background-image: url(http://nsiderforums.net/Themes/Salava2/images/banner.png);
  background-attachment: fixed;
  }</style>

delete the third line or replace "fixed" with "scroll" if you want it to be tiled and scroll with the scrollbar.
Title: Re: How Do I Make A Pic My Background?
Post by: JrDude on December 06, 2007, 07:00:53 PM
Quote from: bluaki on December 06, 2007, 06:59:28 PM
<style>body {
  background-image: url(http://nsiderforums.net/Themes/Salava2/images/banner.png);
  }</style>
gracias
Title: Re: How Do I Make A Pic My Background?
Post by: bluaki on December 06, 2007, 07:03:17 PM
Quote from: JrDude on December 06, 2007, 07:00:53 PM
Quote from: bluaki on December 06, 2007, 06:59:28 PM
<style>body {
  background-image: url(http://nsiderforums.net/Themes/Salava2/images/banner.png);
  }</style>
gracias
oh sorry, see my edit.
if you do want the image to scroll and not be fixed position, don't bother.

Also, place it in the "Customization" box.
Title: Re: How Do I Make A Pic My Background?
Post by: JrDude on December 06, 2007, 07:03:36 PM
Quote from: bluaki on December 06, 2007, 06:59:28 PM
<style>body {
  background-image: url(http://nsiderforums.net/Themes/Salava2/images/banner.png);
  background-attachment: fixed;
  }</style>

delete the third line or replace "fixed" with "scroll" if you want it to be tiled and scroll with the scrollbar.
So take out the 3rd line?
Why?
Title: Re: How Do I Make A Pic My Background?
Post by: JrDude on December 06, 2007, 07:04:25 PM
Quote from: bluaki on December 06, 2007, 07:03:17 PM
Quote from: JrDude on December 06, 2007, 07:00:53 PM
Quote from: bluaki on December 06, 2007, 06:59:28 PM
<style>body {
  background-image: url(http://nsiderforums.net/Themes/Salava2/images/banner.png);
  }</style>
gracias
oh sorry, see my edit.
if you do want the image to scroll and not be fixed position, don't bother.

Also, place it in the "Customization" box.
I want it to scroll
Title: Re: How Do I Make A Pic My Background?
Post by: bluaki on December 06, 2007, 07:06:05 PM
Quote from: JrDude on December 06, 2007, 07:03:36 PM
Quote from: bluaki on December 06, 2007, 06:59:28 PM
<style>body {
  background-image: url(http://nsiderforums.net/Themes/Salava2/images/banner.png);
  background-attachment: fixed;
  }</style>

delete the third line or replace "fixed" with "scroll" if you want it to be tiled and scroll with the scrollbar.
So take out the 3rd line?
Why?
There are two ways you can place the image as the background.
In one, the image stays fixed in place. No matter how you scroll down, it will not change like the objects on top of it do.
In the other, the image will move down as you scroll.