/    Sign up×
Community /Pin to ProfileBookmark

Background is white, my code is for black!

I can’t figure out what’s going wrong here. All of my code indicates bgcolor=#000000, and the background inside the table shows black but the rest of the page is white, I really need it all to be black!

Can someone please help?
———————————–

<html>
<head>
<meta http-equiv=”Content-Language” content=”en-us”>
<meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″>
<title>New Page 1</title>
</head>

<table height=”100%” width=”100%”>
<tr>
<td align=”middle” valign=”middle”>
<table cellpadding=”0″ cellspacing=”0″ border=”0″ bgcolor=”#000000″>
<tr>

<body bgcolor=”#000000″ marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>

<br>
<table height=”100%” width=”100%”>
<tr>
<td align=”middle” valign=”middle”>
<table cellpadding=”0″ cellspacing=”0″ border=”0″ bgcolor=”#000000″>
<tr>
<td colspan=”3″ align=”middle”><a href=”../index_5.htm”>Back to Gallery</a>
</td>
</tr>
<tr>
<td colspan=”3″ height=”1″ background=”../images/dotted_horiz.gif”>
<img src=”../images/spacer.gif” height=”1″></td>
</tr>
<tr>
<td width=”1″ background=”../images/dotted_vert.gif”>
<img src=”../images/spacer.gif” width=”1″></td>
<td align=”middle”>
<table cellpadding=”10″ cellspacing=”0″ border=”0″ bgcolor=”#000000″>
<tr>
<td valign=”top” align=”middle”>
<a name=”64″ href=”../index_5.htm#64″>
<img border=”0″ src=”../images/Winter%20White.jpg” width=”450″ height=”300″ alt=”Winter White” align=”left”></a>
<input type=”submit” value=”Buy Now”><p>
<font color=”#FFFFFF”>8×10″ $85.00</font></p>
<p><input type=”submit” value=”Buy Now”></p>
<p><font color=”#FFFFFF”>11×14″ $130.00</font></p>
<p><input type=”submit” value=”Buy Now”></p>
<p><font color=”#FFFFFF”>16×20″ $220.00</font><br>
</td>
</tr>
</table>
</td>
<td width=”1″ background=”../images/dotted_vert.gif”>
<img src=”../images/spacer.gif” width=”1″></td>
</tr>
<tr>
<td colspan=”3″ height=”1″ background=”../images/dotted_horiz.gif”>
<img src=”../images/spacer.gif” height=”1″></td>
</tr>
<tr>
<td colspan=”3″ align=”left” valign=”top” width=”450″><br>
<table cellpadding=”0″ cellspacing=”0″ border=”0″ bgcolor=”#000000″ height=”100%” width=”100%”>
<tr>
<td colspan=”3″ height=”1″ background=”../images/dotted_horiz.gif”>
<img src=”../images/spacer.gif” height=”1″></td>
</tr>
<tr>
<td width=”1″ background=”../images/dotted_vert.gif”>
<img src=”../images/spacer.gif” width=”1″></td>
<td align=”middle”>
<table cellpadding=”2″ cellspacing=”0″ border=”0″ bgcolor=”#000000″>
<tr>
<td width=”17″>
<a href=”Road%20To%20Nowhere.htm”>
<img SRC=”../images/arrow_prev.gif” BORDER=”0″></a></td>
<td valign=”top” align=”middle”>
<font color=”#FFFFFF”>
<div id=”titleframe”>
<div id=”imageInfo”>
<div class=”content”>
&quot;Winter White&quot;
<script>
ifExistsWrite(“”);
ifExistsWrite(“”);
ifExistsWrite(“”);
ifExistsWrite(“”);
ifExistsWrite(“”);
</script>
</div>
</div>
</div>
</font></td>
<td align=”right” width=”17″>
<a href=”Snowy%20Bush.htm”>
<img border=”0″ src=”../images/arrow_next.gif”></a></td>
</tr>
</table>
<p>&nbsp;</td>
<td width=”1″ background=”../images/dotted_vert.gif”>
<img src=”../images/spacer.gif” width=”1″></td>
</tr>
<tr>
<td colspan=”3″ height=”1″ background=”../images/dotted_horiz.gif”>
<img src=”../images/spacer.gif” height=”1″></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<form method=”post” action=”http://ww9.aitsafe.com/cf/add.cfm“>
<input type=”hidden” name=”userid” value=”———–“>
<input type=”hidden” name=”product” value=”Winter White”>
<input type=”hidden” name=”price” value=”85″>
<input type=”hidden” name=”return” value=”————.com/index.htm”>&nbsp;</form>

</body>

</html>
————————————

Thanks so much for any help! ?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@JubeauthorJan 06.2006 — LOL!!!

I have no idea what I did, but after I pasted all the code here, then copied it from the thread into a new file to make sure it worked for you guys, it's now showing all black!

I don't get it, but I'm glad it's working. ?

I didn't change anything?? ?

Debra
Copy linkTweet thisAlerts:
@NogDogJan 06.2006 — Chances are your browser was displaying a cached version, perhaps?

In any case, you might want to start learning CSS for doing things like setting background colors and text colors, as it is the "best practices" method for controlling the visual aspects of a HTML document.
Copy linkTweet thisAlerts:
@WebJoelJan 06.2006 — -Why do you have content (a TABLE) before the opening <BODY> tag? I'm a bit surprised that this even works but I guess that it does.

"

< table height="100%" width="100%" >

< tr >

< td align="middle" valign="middle" >

< table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" >

< tr >

< body ~foo>"?

And I noticed several 'nested' tables throughout the code as well, which tax a browser's ability and speed.

The stated color display problem seems to have been resolved, so I really have nothing to contribute. :rolleyes:

-Joel
×

Success!

Help @Jube 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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