Jump to content

Background colors


The Praetorian

Recommended Posts

Right. So to get a perfect validation on my css without warnings, I changed all the background colors for my headings to inherited. However, I had to change the background of my body to inherited as well. Otherwise, the headings all showed up with black backgrounds instead of just being clear.Does anyone know how I can keep my background black, and have my headings on inherited, without getting the black background on my headings?CSSMy LayoutxHtmlMy Website

Link to comment
Share on other sites

More info please. Use div's how? Can I just enclose my paragraph's in div's?

for example , here in your css
#header { margin-top: 20px;height: 70px;background-color: #6495ED;border: 0px solid #345487; background-image:url('');background-position:center; background-repeat:no-repeat;}

and here in your body

<div id='header'>  <b><font size='5' color='#FFFFFF'>Your title here</font></b></div>

sorry about my late response :)

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...