/    Sign up×
Community /Pin to ProfileBookmark

Background Problem – Help Needed

My background is suppose to be [url]http://www.angelfire.com/creep/animeng/images/bg.gif[/url] but it doesn’t show up in my page ([url]http://www.angelfire.com/creep/animeng/index.html[/url])
I have another background for my MAIN background, but the background in my CONTENTS does not show up. It’s suppose to be like [url]http://www.angelfire.com/creep/animeng/test.htm[/url]. Can anyone help me? Thanks

to post a comment
HTML

10 Comments(s)

Copy linkTweet thisAlerts:
@pnajJan 10.2004 — First of all, the reference you give to your image seems to a bit more that a gif!!

But, how are you showing the bg ... in the body tag or css or what ... show us JUST the bit of code that relates to the bg image.
Copy linkTweet thisAlerts:
@Wasiu0607authorJan 10.2004 — I used a table.

<table border="0" cellpadding="0" cellspacing="0" width="800" background="images/bg.gif">

I made a sub-table in this table so that my contents could be more organized. The sub-table does not exceed 800 in width.
Copy linkTweet thisAlerts:
@PeOfEoJan 10.2004 — http://www.angelfire.com/creep/animeng/images/bg.gif

Learn how to do backgrounds here

http://www.w3schools.com/css/tryit.asp?filename=trycss_background

EDIT: do not do what is posted directly above! The background attribute is deprecated. To put a table background use <table style="background-image:

url("/images/someimage.gif");">
Copy linkTweet thisAlerts:
@Wasiu0607authorJan 10.2004 — But it's not my main Background. It's the background in the table. I don't know how that's gonna work if I put the background code in CSS.
Copy linkTweet thisAlerts:
@PeOfEoJan 10.2004 — yes it will, just put the css on another element that is not the <body> tag basically. It will work with any elelent
Copy linkTweet thisAlerts:
@Wasiu0607authorJan 12.2004 — [i]Originally posted by PeOfEo [/i]

[B]http://www.angelfire.com/creep/animeng/images/bg.gif

Learn how to do backgrounds here

http://www.w3schools.com/css/tryit.asp?filename=trycss_background

EDIT: do not do what is posted directly above! The background attribute is deprecated. To put a table background use <table style="background-image:

url("/images/someimage.gif");"> [/B]
[/QUOTE]


Do I put the <table style="background-image:

url("/images/someimage.gif");"> in my table code or in CSS? I tried putting it in my table code, but it didn't work.
Copy linkTweet thisAlerts:
@PeOfEoJan 12.2004 — style="background-image:

url("/images/someimage.gif");" in your <table> tag will work, you can say

<table id="mytable">'

and in your head put

<style type="text/css">

#mytable {

background-image: url("/images/someimage.gif");"

}

</style>
Copy linkTweet thisAlerts:
@PeOfEoJan 12.2004 — go to

http://www.w3schools.com/css/tryit.asp?filename=trycss_background-image

and delete all the code, then paste this in there
<i>
</i>&lt;html&gt;
&lt;head&gt;

&lt;style type="text/css"&gt;
#mytable
{
background-image:
url("/images/bgdesert.jpg")
}
&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;
&lt;table id="mytable"&gt;
&lt;tr&gt;&lt;td&gt;hi&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/body&gt;

&lt;/html&gt;
Copy linkTweet thisAlerts:
@Wasiu0607authorJan 14.2004 — That didn't work.. I have a question. Why does the background not appear on this page? On other pages, it appeared....It cant be the coding problem because I basically copied the whole code and then edited the content part..?
Copy linkTweet thisAlerts:
@PeOfEoJan 14.2004 — make sure the path is the same for them all.
×

Success!

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