•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,783 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,422 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 7769 | Replies: 5
![]() |
Well it works like this.
annnd for the table
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
Happy coding!
Slade
<HTML> <Head> <title>Zorba</title> </head> <Body bgcolor = (hexadecimal code referring to your background colour of choice!)>
<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

Happy coding!
Slade
Formerly known as Slade.
replace (hexadecimal code referring to your background colour of choice!)
with a hexidecimal value, such as
will produce a white background
with a hexidecimal value, such as
<body bgcolor = #FFFFFF>
will produce a white background
Formerly known as Slade.
•
•
Join Date: Nov 2003
Location: California
Posts: 199
Reputation:
Rep Power: 5
Solved Threads: 1
Just for cuddlers89's information: You don't necessarily need a hexidecimal code for color, you can also use the color name for most basic colors like white red blue black green yellow orange; etc.
•
•
Join Date: Apr 2004
Location: Virginia Beach
Posts: 113
Reputation:
Rep Power: 5
Solved Threads: 2
You can also use style sheets:
You can also link to external style sheets.
<html>
<head>
<style>
body {
background: colour name or hex value;
}
for tables:
table {
background: colour name;
}
</style>
</head>You can also link to external style sheets.
Application development, webhosting, and much more: www.webcentric-hosting.com
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- need help changing background color of an iframe (JavaScript / DHTML / AJAX)
- Not able to set the background color of JComponent (Java)
- how to place media page requests on background color (HTML and CSS)
- VS 2005 ListViews not holding background color (C#)
- help with setting background color!!! (Java)
- How do i set a page as a Home Page (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Changing the page after a form
- Next Thread: bink.nu navigation


Linear Mode