Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 01-24-2009, 07:29 PM Floating Image
Experienced Talker

Posts: 32
Name: Brandon
Location: Tennessee
Trades: 0
Im trying to add a floating image to my pages.

This image should be in the right bottom corner but stay there as the page is scrolled up and down.

If there is a code to insert into my style sheet please let me know.

I have googled my problem and cant seem to find anything.
BrandonK1989 is offline
Reply With Quote
View Public Profile Visit BrandonK1989's homepage!
 
 
Register now for full access!
Old 01-24-2009, 07:32 PM Re: Floating Image
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
http://www.google.com/search?hl=en&c...ss&btnG=Search
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 01-24-2009, 07:42 PM Re: Floating Image
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
background-image
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-02-2009, 02:42 PM Re: Floating Image
marx18's Avatar
Junior Talker

Posts: 3
Trades: 0
body{
background: #fff url(image.gif) no-repeat fixed bottom right
}
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
marx18 is offline
Reply With Quote
View Public Profile Visit marx18's homepage!
 
Old 02-05-2009, 05:25 AM Re: Floating Image
Changemental's Avatar
Average Talker

Posts: 20
Name: bob habanay
Trades: 0
Thanks marx - it's really working
Changemental is offline
Reply With Quote
View Public Profile
 
Old 02-06-2009, 06:31 PM Re: Floating Image
Experienced Talker

Posts: 32
Name: Brandon
Location: Tennessee
Trades: 0
I cant get marx's code to work.
BrandonK1989 is offline
Reply With Quote
View Public Profile Visit BrandonK1989's homepage!
 
Old 02-06-2009, 09:41 PM Re: Floating Image
Ultra Talker

Posts: 250
Trades: 0
i know what you mean so as you scrole down the page the image floats down with it and stays nearer the bottom so its always in view.
ive seen that before alot for ads i am myself looking for something like this i think its done with javascript. if u find it let me know
MofoDog is offline
Reply With Quote
View Public Profile
 
Old 02-07-2009, 02:05 PM Re: Floating Image
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by BrandonK1989 View Post
I cant get marx's code to work.
What browser are you testing in?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-07-2009, 10:59 PM Re: Floating Image
Ultra Talker

Posts: 250
Trades: 0
Quote:
Originally Posted by chrishirst View Post
What browser are you testing in?
It doesnt matter because that is for a fixed image in the background i think Changemental was being sarcastic when he said it really works.
Brandon wants a floating image that scrolls down the page with the user.
exactly like they have over at mininova.org
MofoDog is offline
Reply With Quote
View Public Profile
 
Old 02-08-2009, 01:53 AM Re: Floating Image
Ultra Talker

Posts: 250
Trades: 0
this works quite well http://www.willmaster.com/library/tu...mit_button.php
MofoDog is offline
Reply With Quote
View Public Profile
 
Old 02-08-2009, 05:54 AM Re: Floating Image
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
It doesnt matter because that is for a fixed image in the background
Sure, the reason I asked is because background-attachment:fixed isn't supported by ...


... Yes, you guessed it
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-09-2009, 02:29 PM Re: Floating Image
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
And AGAIN, position:fixed is NOT SUPPORTED by IE !
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-10-2009, 12:59 PM Re: Floating Image
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Well, not by IE6 anyway... it is supported by IE7
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 02-10-2009, 02:26 PM Re: Floating Image
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Sorry.. yes, forgot to specify.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-10-2009, 09:49 PM Re: Floating Image
Experienced Talker

Posts: 32
Name: Brandon
Location: Tennessee
Trades: 0
Quote:
Originally Posted by meveronna View Post
background: #fff url(image.gif) no-repeat fixed bottom right*
What html script do I put around this?
BrandonK1989 is offline
Reply With Quote
View Public Profile Visit BrandonK1989's homepage!
 
Old 02-11-2009, 02:57 AM Re: Floating Image
Ultra Talker

Posts: 250
Trades: 0
Quote:
Originally Posted by BrandonK1989 View Post
What html script do I put around this?
You dont Brandon that is CSS
Theres a difference between HTML and CSS.
Just view the source code on the webmaster-talk homepage and youll see for yrself how CSS is used.
MofoDog is offline
Reply With Quote
View Public Profile
 
Old 02-11-2009, 04:02 AM Re: Floating Image
SolidEagle's Avatar
Experienced Talker

Posts: 30
Name: Arjan Nijmeijer
Location: Stadskanaal
Trades: 0
<div id="test" style="position:absolute; bottom:0; right:0;"><img src="myimg.png" alt="My img/></div>
</body>
</html>


works for me in FF3 and IE7. (havent tried other browsers but I think it will work correctly)


//before commenting on the way this is coded: yeah its nicer to use the id of the div and style it in the css file... but this was just a quick test...
__________________
The Eagle Soars Above You!

Please login or register to view this content. Registration is FREE

Last edited by SolidEagle; 02-11-2009 at 04:05 AM..
SolidEagle is offline
Reply With Quote
View Public Profile
 
Old 02-18-2009, 09:53 PM Re: Floating Image
Experienced Talker

Posts: 32
Name: Brandon
Location: Tennessee
Trades: 0
When adding this to the .css style sheet, how would I link it as well?
BrandonK1989 is offline
Reply With Quote
View Public Profile Visit BrandonK1989's homepage!
 
Old 02-19-2009, 09:39 AM Re: Floating Image
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Not sure what you mean. You'd need to add it to your css file like this:

#test{position:absolute; bottom:0; right:0;}
Then your html would just be <div id="test">
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-19-2009, 07:19 PM Re: Floating Image
Experienced Talker

Posts: 32
Name: Brandon
Location: Tennessee
Trades: 0
Sorry about that.

Should have clerified. I need to make the image that floats in the bottom left a link as well. So when you click on the image it open up a new window and takes you to that link.
BrandonK1989 is offline
Reply With Quote
View Public Profile Visit BrandonK1989's homepage!
 
Reply     « Reply to Floating Image

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.23170 seconds with 12 queries