How do i set a page background color?
how do i make the backround of the page a different color than the centered text just like on the page i mentioned in my first post?
cuddlers89
Junior Poster in Training
57 posts since Mar 2004
Reputation Points: 11
Solved Threads: 0
Well it works like this.
<HTML>
<Head>
<title>Zorba</title>
</head>
<Body bgcolor = (hexadecimal code referring to your background colour of choice!)>
annnd for the table
<table width="90%" align="center" bgcolor =(hexadecimal code referring to your background colour of choice!)>
<tr><td align="left" valign="top">
PAGE CONTENT HERE
</td></tr>
</table></body>
</html>
hexidecimal values can be found at http://www.december.com/html/spec/color.html or http://www.web-source.net/216_color_chart.htm , give us the link to your site so I can check it out :D
Happy coding!
Slade
Slade
Practically a Master Poster
633 posts since Mar 2004
Reputation Points: 115
Solved Threads: 7
replace (hexadecimal code referring to your background colour of choice!)
with a hexidecimal value, such as
<body bgcolor = #FFFFFF>
will produce a white background
Slade
Practically a Master Poster
633 posts since Mar 2004
Reputation Points: 115
Solved Threads: 7
lol, for my information as well, I didn't know that
Slade
Practically a Master Poster
633 posts since Mar 2004
Reputation Points: 115
Solved Threads: 7