/    Sign up×
Community /Pin to ProfileBookmark

Hi Guys, i use this code

[CODE]<img src=”http://img221.imageshack.us/img221/251/left3kg.gif” alt=”Left tank” style=”position:absolute; left:0px; top: 0px;” border=”0″><img src=”http://img146.imageshack.us/img146/4720/right7wm.gif” alt=”Right tank” style=”position:absolute; right:0px; top: 0px;” border=”0″>[/CODE]

to create a left tank image and a right tank image on my forum. But right now, it sticks to the top of my site. How do we make it like when we scroll down the scrolbar, these two images “left and right tank” moves down and up based on my scroll bar ?

thanks

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@KDLAJun 21.2006 — Use the background attachment property.

Reference: http://www.w3.org/TR/CSS21/colors.html#propdef-background-attachment

BTW - you'll have to apply these as backgrounds, rather than using them as images. If you retain the image coding, you'll need to use javascript to make them follow the scrolling.

KDLA
Copy linkTweet thisAlerts:
@dthurman1432Jun 21.2006 — Or maybe watermarking the images would do the trick.
Copy linkTweet thisAlerts:
@pangolin123authorJun 21.2006 — I already have a background on my site. So does it still conflict with the existing background ? Also, is it possible to get the coding by using javascript please ?
×

Success!

Help @pangolin123 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.22,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...