/    Sign up×
Community /Pin to ProfileBookmark

why wont my background come up?

im trying to do a background for myspace.com an it wont come up….this is wat im putting…<BODY BGCOLOR=”..9400D3″ BACKGROUND=”C:..Documents and Settings..michelle quinn..My Documents..My Pictures”>,………..wat am i doing wrong?? ?

to post a comment
HTML

19 Comments(s)

Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — are u using the preiods or r u using in between stuff and u dont need the periods b4 9400d3
Copy linkTweet thisAlerts:
@boogeywoogeyauthorSep 25.2005 — i copied it an thats how it came out...should use the /?
Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — yah should look like ...

<BODY BGCOLOR="9400D3" BACKGROUND="C:DocumentsandSettingsmichellequinnMyDocumentsMy Pictures">
Copy linkTweet thisAlerts:
@boogeywoogeyauthorSep 25.2005 — kk thx let me try it out
Copy linkTweet thisAlerts:
@boogeywoogeyauthorSep 25.2005 — it didnt work either!!! do u have myspace?
Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — and do u have the picture name and extension on it?

it'll look like this

<BODY BGCOLOR="9400D3" BACKGROUND="C:DocumentsandSettingsmichellequinnMyDocumentsMy Picturesexample.jpg">
Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — example.jgp will be replace by the file name and extension
Copy linkTweet thisAlerts:
@boogeywoogeyauthorSep 25.2005 — k this is wat i put <BODY BGCOLOR="9400D3" BACKGROUND="C:/DocumentsandSettings/michellequinn/MyDocuments/My Pictures/1035471984__angelgoth.jpg">
Copy linkTweet thisAlerts:
@boogeywoogeyauthorSep 25.2005 — an its still not working ....do i have to wait b4 it comes on the screen.........wow im confused
Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — post a link to your site lol ill look at the source and find ur mistake
Copy linkTweet thisAlerts:
@boogeywoogeyauthorSep 25.2005 — wow i did it
Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — well i used this and it works

<body bgcolor="d2b48c" background="C:Documents and SettingsGeorgebackground.bmp">

Oh and by the way i screwed up Documents and setting and ur name should have a space so it will look like this.

<BODY BGCOLOR="9400D3" BACKGROUND="C:/Documents and Settings/michelle quinn/MyDocuments/My Pictures/1035471984__angelgoth.jpg">
Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — sry thats a mistake on my part did it work?
Copy linkTweet thisAlerts:
@NogDogSep 25.2005 — The image file needs to be on the web, not on your local PC. You'll probably want to upload it to the same host where your web page is.

Also, a better format is:
<i>
</i>&lt;body style="background: #9400D3 url('http://www.yoursite.com/images/background.jpg') repeat"&gt;

Replace 'http://www.yoursite.com/images/background.jpg' with whatever the correct URL is for your background image.
Copy linkTweet thisAlerts:
@laxplayacsSep 25.2005 — y cant it be on the pc?
Copy linkTweet thisAlerts:
@NogDogSep 25.2005 — Well, it can be on your PC if that's where you're viewing your HTML file from, but presumably you want it to be on the web and available to the public?
Copy linkTweet thisAlerts:
@SheldonSep 25.2005 — Dont use a full path like that,

1 ) when you upload the file to your server there is no accessable c: drive! it will be a different path from your computer

2 ) Use a relative path, copy the image into the same folder as the html files calling for it. then use this code.

[code=php]
<body bgcolor="#9400D3" background="angelgoth.jpg">
[/code]


or even better use css
[code=php]
<html>
<head>
<style type="text/css">
<!--
body {
font: medium arial, helvetica, sans-serif;
margin: 0;
padding: 1em;
background-color: #9400D3;
background-image: url(angelgoth.jpg);
color: black;
}

-->
</style>
</head>
<body>
...code...
</body>
</html>
[/code]
×

Success!

Help @boogeywoogey 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.7,
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,
)...