php forum
php mysql forum
php mysql smarty
 
Topic Options
#13353 - 02/19/04 06:09 PM Background Picture
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
Is there a way to keep my background in place while the rest of the board moves. As you see here http://www.brownandkeene.com/cgi-bin/ultimatebb.cgi?ubb=forum;f=1
My pic just keeps repeating as the board gets longer.
I used Dreamweaver to create the HTML
Thanks

Top
#13354 - 02/19/04 06:23 PM Re: Background Picture
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Add this to your header-insert.
Code:
<style type="text/css">
BODY {
background-image: url(/path/to/image/image.gif);
background-position: center top;
background-repeat: no-repeat;
background-attachment: fixed;

}
</style>

Of course the values above are adjustable.
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#13355 - 02/19/04 10:25 PM Re: Background Picture
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
Thank You Brother

Top
#13356 - 02/19/04 10:34 PM Re: Background Picture
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
smile
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#13357 - 02/20/04 12:04 AM Re: Background Picture
Jivecoolie Offline
Junior Member

Registered: 02/19/04
Posts: 5
what do i put instead of center-top to make it fill up the background? = newb question i know.

Top
#13358 - 02/20/04 12:11 AM Re: Background Picture
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Keeping the background static while the content scrolls is a huge performance hit to some browsers on slower machines.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#13359 - 02/20/04 12:12 AM Re: Background Picture
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Quote:
Originally posted by Jivecoolie:

what do i put instead of center-top to make it fill up the background? = newb question i know.


It should do that by default, although it will not stay "fixed".

To defeat the "preformance hit", get mozilla smile
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#13360 - 02/20/04 12:21 AM Re: Background Picture
Jivecoolie Offline
Junior Member

Registered: 02/19/04
Posts: 5
woot, works now D;

Top



Moderator:  Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks