Username: Password:   Forgot your password?
 
Forums
» View Categories » Coding Help & Templates » a reaaally simple, probably dumb question...
Previous 30
Page of 1 Next 30

Member:48,470
Posts:158
Joined:1-19-2008
Seen:11-27-2009
Nov 11,`08 12:57pm | Quote |

hi there. I'm trying to make the background on my comic's homepage plain blue... nothing complicated at all. this is the code I tried.

<body bg color="blue">
<div id="containment">
<center>
<h1 id="comictitle"><img src="http://i6.photobucket.com/albums/y204/chibi_chimera/blueskyheader.png"></img></h1>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" id="navcontainer">
<tr>
<td align="center"><ul>
<li>Comic:</li>
<li><a href="<!--[URL_FIRST]-->">First</a></li>
<li><a href="<!--[URL_LAST]-->">Previous</a></li>
</ul></td>
</tr>
</table>

I tried some variations too, but nothing works... help? D:

 
Member:25,087
Posts:835
Joined:5-28-2007
Seen:11-27-2009
Nov 11,`08 1:26pm | Quote |

on that code snippet, you need to put the "bg color = 'blue'" into a style tag and change "bg color" to "background-color". Or take that out, go into the style tags at the top of the code and change the background color in the body tag section to blue or #0000FF. Those changes should fix it all.

 
Member:48,470
Posts:158
Joined:1-19-2008
Seen:11-27-2009
Nov 11,`08 1:28pm | Quote |

style tag? what's that?

sorry, I'm really bad at this... >>

 
Member:25,087
Posts:835
Joined:5-28-2007
Seen:11-27-2009
Nov 11,`08 2:24pm | Quote |

Essentially <body style="background-color: #0000FF;">

 
Member:48,470
Posts:158
Joined:1-19-2008
Seen:11-27-2009
Nov 12,`08 2:00pm | Quote |

it works! thank you.

 
Member:25,087
Posts:835
Joined:5-28-2007
Seen:11-27-2009
Nov 12,`08 2:06pm | Quote |

Not a problem. If you need any other HTML assistance, let me know.


Previous 30
Page of 1 Next 30

 

Not Registered?
Signup for a FREE Account!


Registered users can:
Comment on comics!
Create their own comics!
Vote in polls and contests!
Use the forums!
   Latest News
   DD Cam (Now Featuring: DDBook)