Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
8,064 Members
165,821 Posts
33 Users Online

Please welcome our newest member, freeza!

Affiliates
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 07-20-2006, 05:45 AM   #1

Lpspider's Avatar

Title: Forum Addict

Points: 6,743, Level: 24Points: 6,743, Level: 24Points: 6,743, Level: 24
Level up: 25%, 307 Points neededLevel up: 25%, 307 Points neededLevel up: 25%, 307 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 1,338

Location: Illinois

Lpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of light
Send a message via MSN to Lpspider  
 
css help

Okay, I'm having a problem with CSS... basically I need this image to scroll with the page. I made a post at DP with limited response here - (hope it's okay to post the link).

Anyway, I was hoping someone could help me out.

Also, it's not just a basic html page... it's actually on myspace (haha). I'm working on designing some layouts and such and need this to work, so yeah.

Thanks for any guideance.
__________________
Creative Writing|My Blog
Reply With Quote
Old 07-20-2006, 06:09 AM   #2
Bob

Bob is offline

Bob's Avatar



Title: Back in the Green

Points: 3,998, Level: 18Points: 3,998, Level: 18Points: 3,998, Level: 18
Level up: 19%, 252 Points neededLevel up: 19%, 252 Points neededLevel up: 19%, 252 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 753

Location: Scotland

Bob is a jewel in the roughBob is a jewel in the roughBob is a jewel in the rough
Send a message via MSN to Bob  
 
Do you mean that when the page scrolls the picture doesn't move and stays in place?
__________________
Bob's Bit of the Web
Into Blogging? Want to talk about it or need help with something? Join us at the Blogging Café.
Reply With Quote
Old 07-20-2006, 06:14 AM   #3

Lpspider's Avatar

Title: Forum Addict

Points: 6,743, Level: 24Points: 6,743, Level: 24Points: 6,743, Level: 24
Level up: 25%, 307 Points neededLevel up: 25%, 307 Points neededLevel up: 25%, 307 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 1,338

Location: Illinois

Lpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of light
Send a message via MSN to Lpspider  
 
Yes, something along those lines. I need the picture to stay in place while everything else scrolls.
__________________
Creative Writing|My Blog
Reply With Quote
Old 07-20-2006, 06:16 AM   #4
Bob

Bob is offline

Bob's Avatar



Title: Back in the Green

Points: 3,998, Level: 18Points: 3,998, Level: 18Points: 3,998, Level: 18
Level up: 19%, 252 Points neededLevel up: 19%, 252 Points neededLevel up: 19%, 252 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 753

Location: Scotland

Bob is a jewel in the roughBob is a jewel in the roughBob is a jewel in the rough
Send a message via MSN to Bob  
 
This might work then, I found it in a wordpress theme I was playing with yesterday and never saw this before. Anyway in the body tag of the css it has
Code:
        background: #02284d url(images/bg.jpg) no-repeat;
        background-attachment: fixed;
the background-attachment thing locks the picture into place. Never used this til yesterday and only with wordpress, but it's css driven so it should work.
__________________
Bob's Bit of the Web
Into Blogging? Want to talk about it or need help with something? Join us at the Blogging Café.
Reply With Quote
Old 07-20-2006, 06:42 AM   #5

Lpspider's Avatar

Title: Forum Addict

Points: 6,743, Level: 24Points: 6,743, Level: 24Points: 6,743, Level: 24
Level up: 25%, 307 Points neededLevel up: 25%, 307 Points neededLevel up: 25%, 307 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 1,338

Location: Illinois

Lpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of light
Send a message via MSN to Lpspider  
 
Quote:
Originally Posted by Bob View Post
This might work then, I found it in a wordpress theme I was playing with yesterday and never saw this before. Anyway in the body tag of the css it has
Code:
        background: #02284d url(images/bg.jpg) no-repeat;
        background-attachment: fixed;
the background-attachment thing locks the picture into place. Never used this til yesterday and only with wordpress, but it's css driven so it should work.
I've tried something close to this, but the problem is, I already have a background image. I need an additional image that goes on top of the background image and scrolls.
__________________
Creative Writing|My Blog
Reply With Quote
Old 07-20-2006, 06:48 AM   #6
Bob

Bob is offline

Bob's Avatar



Title: Back in the Green

Points: 3,998, Level: 18Points: 3,998, Level: 18Points: 3,998, Level: 18
Level up: 19%, 252 Points neededLevel up: 19%, 252 Points neededLevel up: 19%, 252 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 753

Location: Scotland

Bob is a jewel in the roughBob is a jewel in the roughBob is a jewel in the rough
Send a message via MSN to Bob  
 
Ah! right, I think I see what your after now, but no idea how to help sorry.
__________________
Bob's Bit of the Web
Into Blogging? Want to talk about it or need help with something? Join us at the Blogging Café.
Reply With Quote
Old 07-20-2006, 08:27 AM   #7

Lpspider's Avatar

Title: Forum Addict

Points: 6,743, Level: 24Points: 6,743, Level: 24Points: 6,743, Level: 24
Level up: 25%, 307 Points neededLevel up: 25%, 307 Points neededLevel up: 25%, 307 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 1,338

Location: Illinois

Lpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of light
Send a message via MSN to Lpspider  
 
well thanks for the atempt, regardless. Anyone else want to have a try?
__________________
Creative Writing|My Blog
Reply With Quote
Old 07-20-2006, 04:24 PM   #8

RedMatrix's Avatar

Title: Gas 1.43

Points: 25,494, Level: 48Points: 25,494, Level: 48Points: 25,494, Level: 48
Level up: 49%, 56 Points neededLevel up: 49%, 56 Points neededLevel up: 49%, 56 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2006

Posts: 3,984

Location: back in TX

RedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond reputeRedMatrix has a reputation beyond repute
Send a message via ICQ to RedMatrix Send a message via MSN to RedMatrix  
 
Never fear, I am here!

First of all, you DON'T want the picture to scroll, right? You want it to stay put. Well, if you have a certain place for it to remain on the page, then you need the following code.

in your CSS:
Code:
.frozen {
 position: absolute;
 left: 25px;
 top: 47px;
 bottom: 8px;
 right: 72px;
}
You only need 2 of the blue code, use the ones you need. Change the red to whatever you need.

In your html:
HTML Code:
<img src="" alt="" class="frozen" />
__________________
I went to Vegas, and all I got was this Blister. - true story!
Reply With Quote
Old 07-20-2006, 08:15 PM   #9

Lpspider's Avatar

Title: Forum Addict

Points: 6,743, Level: 24Points: 6,743, Level: 24Points: 6,743, Level: 24
Level up: 25%, 307 Points neededLevel up: 25%, 307 Points neededLevel up: 25%, 307 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 1,338

Location: Illinois

Lpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of light
Send a message via MSN to Lpspider  
 
Picture a nonscrolling, non-repeating background. Now place an image on top of that with the same effect.

Basically, the image is constantly there (except I want it positioned lower).

I don't know how else to describe it. :/
__________________
Creative Writing|My Blog
Reply With Quote
Old 07-20-2006, 08:28 PM   #10

Lpspider's Avatar

Title: Forum Addict

Points: 6,743, Level: 24Points: 6,743, Level: 24Points: 6,743, Level: 24
Level up: 25%, 307 Points neededLevel up: 25%, 307 Points neededLevel up: 25%, 307 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 1,338

Location: Illinois

Lpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of lightLpspider is a glorious beacon of light
Send a message via MSN to Lpspider  
 
Basically, I want this:

Code:
<style type="text/css">

body
{
background-image: 
url('http://www.site.com/image.png');
background-repeat: 
no-repeat;
background-attachment: 
fixed
}
</style>
But for both the background and an additional image.
__________________
Creative Writing|My Blog
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

AdminFusion

All times are GMT +1. The time now is 06:03 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved


From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72