Background Problem - Help Needed

liunx

Guest
My background is suppose to be <!-- m --><a class="postlink" href="http://www.angelfire.com/creep/animeng/images/bg.gif">http://www.angelfire.com/creep/animeng/images/bg.gif</a><!-- m --> but it doesn't show up in my page (<!-- m --><a class="postlink" href="http://www.angelfire.com/creep/animeng/index.html">http://www.angelfire.com/creep/animeng/index.html</a><!-- m -->)<br />
I have another background for my MAIN background, but the background in my CONTENTS does not show up. It's suppose to be like <!-- m --><a class="postlink" href="http://www.angelfire.com/creep/animeng/test.htm">http://www.angelfire.com/creep/animeng/test.htm</a><!-- m -->. Can anyone help me? Thanks<!--content-->First of all, the reference you give to your image seems to a bit more that a gif!!<br />
<br />
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.<!--content-->I used a table.<br />
<br />
<table border="0" cellpadding="0" cellspacing="0" width="800" background="images/bg.gif"><br />
<br />
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.<!--content-->http://www.angelfire.com/creep/animeng/images/bg.gif<br />
Learn how to do backgrounds here<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/css/tryit.asp?filename=trycss_background">http://www.w3schools.com/css/tryit.asp? ... background</a><!-- m --><br />
EDIT: do not do what is posted directly above! The background attribute is deprecated. To put a table background use <table style="background-image: <br />
url("/images/someimage.gif");"><!--content-->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.<!--content-->yes it will, just put the css on another element that is not the <body> tag basically. It will work with any elelent<!--content-->Originally posted by PeOfEo <br />
<!-- m --><a class="postlink" href="http://www.angelfire.com/creep/animeng/images/bg.gif">http://www.angelfire.com/creep/animeng/images/bg.gif</a><!-- m --><br />
Learn how to do backgrounds here<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/css/tryit.asp?filename=trycss_background">http://www.w3schools.com/css/tryit.asp? ... background</a><!-- m --><br />
EDIT: do not do what is posted directly above! The background attribute is deprecated. To put a table background use <table style="background-image: <br />
url("/images/someimage.gif");"> <br />
<br />
Do I put the <table style="background-image: <br />
url("/images/someimage.gif");"> in my table code or in CSS? I tried putting it in my table code, but it didn't work.<!--content-->style="background-image:<br />
url("/images/someimage.gif");" in your <table> tag will work, you can say<br />
<table id="mytable">'<br />
and in your head put<br />
<style type="text/css"><br />
#mytable {<br />
background-image: url("/images/someimage.gif");"<br />
}<br />
</style><!--content-->go to<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/css/tryit.asp?filename=trycss_background-image">http://www.w3schools.com/css/tryit.asp? ... ound-image</a><!-- m --><br />
and delete all the code, then paste this in there<br />
<br />
<html><br />
<head><br />
<br />
<style type="text/css"><br />
#mytable<br />
{<br />
background-image:<br />
url("/images/bgdesert.jpg")<br />
}<br />
</style><br />
<br />
</head><br />
<br />
<body><br />
<table id="mytable"><br />
<tr><td>hi</td></tr></table><br />
</body><br />
<br />
</html><!--content-->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..:confused:<!--content-->make sure the path is the same for them all.<!--content-->
 
Back
Top