Previous Thread
Next Thread
Print Thread
Rate Thread
#13353 02/19/2004 7:09 PM
Joined: Feb 2004
Posts: 10
Junior Member
Junior Member
Offline
Joined: Feb 2004
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

Sponsored Links
#13354 02/19/2004 7:23 PM
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
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
#13355 02/19/2004 11:25 PM
Joined: Feb 2004
Posts: 10
Junior Member
Junior Member
Offline
Joined: Feb 2004
Posts: 10
Thank You Brother

#13356 02/19/2004 11:34 PM
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
smile


- Custom Web Development
http://www.JCSWebDev.com
#13357 02/20/2004 1:04 AM
Joined: Feb 2004
Posts: 5
Junior Member
Junior Member
Offline
Joined: Feb 2004
Posts: 5
what do i put instead of center-top to make it fill up the background? = newb question i know.

Sponsored Links
#13358 02/20/2004 1:11 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Keeping the background static while the content scrolls is a huge performance hit to some browsers on slower machines.

#13359 02/20/2004 1:12 AM
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
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
#13360 02/20/2004 1:21 AM
Joined: Feb 2004
Posts: 5
Junior Member
Junior Member
Offline
Joined: Feb 2004
Posts: 5
woot, works now D;


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)