BlogHarbor Home Page
FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  UsergroupsRSS   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Background color
 
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
dissident vox



Joined: 29 Jun 2005
Posts: 23

PostPosted: Tue Jan 30, 2007 10:03 pm    Post subject: Background color Reply with quote

John

This is a dumb question, but I cant seem to remember how to change the background color of the blog outside of the tables. I'd like to get the whole thing sitting on a simple black background. I thought it was simply a matter of changing the background-color attribute in the style sheet for the body tag but this hasn't worked. What am I not doing?

The blog I'm playing with is at http://johnbuckley.blogharbor.com I'm planning to put a portfolio on it, your help is as always appreciated.

Regards
John B
Back to top
View user's profile Send private message
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Wed Jan 31, 2007 1:30 am    Post subject: Re: Background color Reply with quote

Did you already try modifying the background color attribute of the body class?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dissident vox



Joined: 29 Jun 2005
Posts: 23

PostPosted: Wed Jan 31, 2007 3:13 pm    Post subject: Reply with quote

Do you mean this?

body {
margin: 20px 40px 20px 40px;
color: #FFF;
background-color: #black;
}

This is what I currently have in my custom css. It does nothing. Is this not correct? If so, what is? Wink
Back to top
View user's profile Send private message
john
Site Admin


Joined: 16 Mar 2004
Posts: 3434

PostPosted: Wed Jan 31, 2007 3:26 pm    Post subject: Reply with quote

You can use background-color: black; or background-color: #000; but background-color: #black; is not the correct syntax.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dissident vox



Joined: 29 Jun 2005
Posts: 23

PostPosted: Wed Jan 31, 2007 4:07 pm    Post subject: Reply with quote

Your wisdom, oh wise one, has resolved my problem! Thanks! Very Happy
Back to top
View user's profile Send private message
Search all BlogHarbor support resources.
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    BlogHarbor Community Forum Index -> Tips and Tricks All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum