Jump to content
Sign in to follow this  
WebWerx

Background Colour for Content Box

Recommended Posts

WebWerx

I have added a Content Box to my Home Page and want to add a background colour to it. I have assigned a CSS Class to the box of "special". For some reason I cannot get the color to render. I know it is my CSS... b-( Any help would be appreciated.

Share this post


Link to post
Share on other sites
Danny
Hi WebWerx, Give this a try please: [code]#contentbox .special {background: black;padding: 15px;color: red;}[/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
WebWerx
That's the trick Danny. I am not sure why I am having so much trouble in determining the correct CSS. When I look at what you gave me, it seems that I am not looking up high enough in the CSS hierarchy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×