User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Mar 2004
Posts: 57
Reputation: cuddlers89 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cuddlers89 cuddlers89 is offline Offline
Junior Poster in Training

Re: How do i change scrollers and make my site sutible for all resolutions?

  #1  
Apr 29th, 2004
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?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2004
Location: Brisbane
Posts: 632
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Rep Power: 7
Solved Threads: 6
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: How do i change scrollers and make my site sutible for all resolutions?

  #2  
Apr 29th, 2004
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

Happy coding!

Slade
Formerly known as Slade.
Reply With Quote  
Join Date: Mar 2004
Location: Brisbane
Posts: 632
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Rep Power: 7
Solved Threads: 6
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: How do i change scrollers and make my site sutible for all resolutions?

  #3  
Apr 29th, 2004
replace (hexadecimal code referring to your background colour of choice!)

with a hexidecimal value, such as

  
<body bgcolor = #FFFFFF>

will produce a white background
Formerly known as Slade.
Reply With Quote  
Join Date: Nov 2003
Location: California
Posts: 199
Reputation: rixius is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
rixius rixius is offline Offline
Junior Poster

Re: How do i change scrollers and make my site sutible for all resolutions?

  #4  
May 4th, 2004
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.
Reply With Quote  
Join Date: Mar 2004
Location: Brisbane
Posts: 632
Reputation: Slade has a spectacular aura about Slade has a spectacular aura about 
Rep Power: 7
Solved Threads: 6
Slade's Avatar
Slade Slade is offline Offline
Practically a Master Poster

Re: How do i set a page background color?

  #5  
May 4th, 2004
lol, for my information as well, I didn't know that
Formerly known as Slade.
Reply With Quote  
Join Date: Apr 2004
Location: Virginia Beach
Posts: 113
Reputation: liliafan is on a distinguished road 
Rep Power: 5
Solved Threads: 2
liliafan's Avatar
liliafan liliafan is offline Offline
Junior Poster

Re: How do i set a page background color?

  #6  
May 4th, 2004
You can also use 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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 4:59 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC