/    Sign up×
Community /Pin to ProfileBookmark

Positioning a back ground picture…

I know that there’s a way to position your Bg pic with out it repeating or scrolling. But I don’t know how… ๐Ÿ˜ฎ Not really surprising, huh? Can anyone help me?

to post a comment
HTML

9 Comments(s) โ†ด

Copy linkTweet thisAlerts:
@NogDogJun 23.2005 โ€”ย style="background: #ffffff url('bgimage.jpg') no-repeat 50% 20%"

See http://www.w3.org/TR/CSS21/colors.html#background-properties for more info.
Copy linkTweet thisAlerts:
@reddvixenauthorJun 23.2005 โ€”ย Okay, I tried using it with the < > tags... It didn't work. I'm trying to do this for my Neopets profile page (http://neopets.com/randomfriend.phtml?user=silverdragoness). Yes, I'm a kid and am so totally addicted to Neopets. I'm sorry. But Every code I've tried dosen't seem to work...
Copy linkTweet thisAlerts:
@LaprattJun 23.2005 โ€”ย There is a site www.pimpwebpage.com which you can put in the image URL and you select it as fixed, and it codes it for you. Then you just copy and paste.
Copy linkTweet thisAlerts:
@reddvixenauthorJun 23.2005 โ€”ย Thanks!
Copy linkTweet thisAlerts:
@the_treeJun 23.2005 โ€”ย You tried with the what tags? We can't see your page without being logged in so could you cite your code here?

I can't see why NogDogs code wouldn't work without seeing the whole thing.
Copy linkTweet thisAlerts:
@reddvixenauthorJun 23.2005 โ€”ย < style="background: #ffffff url('bgimage.jpg') no-repeat 50% 20%" (NoDogs code) >

I used the <> tags... But maybe Lapratt's site will help. I have to cut out alot of the unuseable code though so it might take a minute or two...
Copy linkTweet thisAlerts:
@reddvixenauthorJun 23.2005 โ€”ย Yes! I got it thanks, Lapratt!
Copy linkTweet thisAlerts:
@the_treeJun 23.2005 โ€”ย &lt; style="background: #ffffff url('bgimage.jpg') no-repeat 50% 20%" (NoDogs code) &gt;I used the <> tags... But maybe Lapratt's site will help. I have to cut out alot of the unuseable code though so it might take a minute or two...[/QUOTE]Right, you haven't actually use a tag though. You just put an attibute in side <>s. A tag would be something like [i]body[/i] e.g.&lt;body style="background: #ffffff url('bgimage.jpg') no-repeat 50% 20%;"&gt;
Copy linkTweet thisAlerts:
@reddvixenauthorJun 23.2005 โ€”ย Man, I'm really slow with names, so yah. I knew what I meant! Stop picking on me! Anyways, thanks for your help!
ร—

Success!

Help @reddvixen 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 4.29,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...