iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-13-2009, 03:58 AM
WebProWorld Veteran
 
Join Date: Jun 2004
Location: Australia
Posts: 531
watto RepRank 2watto RepRank 2
Default Color Question for My Background.

Can someone ell me why the background on my homepage is white and on all other pages it is grey? I want the home page to also have a grey background, however I can not find the code.

All help is gretly appreciated.

watto
Reply With Quote
  #2 (permalink)  
Old 01-13-2009, 11:05 AM
Dubbya's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,301
Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4
Default Re: Color Question for My Background.

I'm guessing that you're referring to the australiansmallbusiness.net site.

There are a few things between your style tags that need to be fixed.

You neglected to add the ound sign "#" before the hex code specifying your font color. It should read "color:#222222"

Additionally, it's probably better to specify the page background color by applying the style to the body tag instead of in a class called ".main".

Inside the style for the body tag, add "background-color: #F4F4F4;" Save the file and reload the page in your browsero

HTML Code:
<style type="text/css">

body {  color: 222222;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 10px;
        }


.box{
     width: 750px;
     text-align: left;
     border: 1px solid #6BB300;
         background: #FFFFFF;
}
.main{
     text-align: left;
     border: 1px solid #6BB300;
         background: #F4F4F4;
}

</style>
Reply With Quote
  #3 (permalink)  
Old 01-15-2009, 06:11 PM
WebProWorld Veteran
 
Join Date: Jun 2004
Location: Australia
Posts: 531
watto RepRank 2watto RepRank 2
Default Re: Color Question for My Background.

Thanks Dubbya!
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help Web Ceo says same text color as background illbeatz Graphics & Design Discussion Forum 14 11-05-2006 10:04 AM
Please help Web Ceo says same text color as background illbeatz Web Programming Discussion Forum 1 10-27-2006 02:01 PM
color temperature question Faglork Graphics & Design Discussion Forum 7 04-04-2005 08:35 PM
Background Image question ajpaulus Graphics & Design Discussion Forum 9 08-11-2004 06:41 PM
E-Mail Newsletter Background Color OneMoreBite WebProWorld: Guidelines/Announcements/Suggestions 5 12-13-2003 09:09 PM


All times are GMT -4. The time now is 11:31 AM.



Search Engine Optimization by vBSEO 3.3.0