The Praetorian Posted June 14, 2006 Share Posted June 14, 2006 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 sharing options...
smiles Posted June 14, 2006 Share Posted June 14, 2006 Does anyone know how I can keep my background black, and have my headings on inherited, without getting the black background on my headings?uses table or div Link to comment Share on other sites More sharing options...
The Praetorian Posted June 14, 2006 Author Share Posted June 14, 2006 More info please. Use div's how? Can I just enclose my paragraph's in div's? Link to comment Share on other sites More sharing options...
smiles Posted June 16, 2006 Share Posted June 16, 2006 More info please. Use div's how? Can I just enclose my paragraph's in div's?<{POST_SNAPBACK}> 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now