Jump to content

CSS background color for text


Recommended Posts

Hi

I got a problem with some css settings. In the block headers I got a background pic. So for the block titles I need a background color to make them readable.

here is my css settings

div.block h4 {
text-transform: uppercase;
font-family: Helvetica, Sans-Serif;
font-weight: bold;
font-size: 1.2em;
padding-left:0.5em;
border-bottom:0px solid #595A5E;
padding-top:2px;
line-height:1.3em;
color: black;
background-color: white;
height: 19px;
background: transparent url('../img/block_header.gif') no-repeat top left;
}
div.block h4 a { color: #374853;
background-color: white;
}


It works well for all block with a linked title but doesnt work for the rest. Guess somehow the background color is under the background pic.

Any simple solutions for that?

thanks

Link to comment
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
×
×
  • Create New...