This is my CSS for my website. When I run it through the W3 validator it comes up with the following error.
‘ * Line : 4 (Level : 1) This property applies to block-level elements. : .cntrp
How can I change my style sheet to stop this error?
body {font-family: arial, “sans serif”, Monospace, Cursive}
p {font-family: arial, “sans serif”, Monospace, Cursive; margin-bottom: 0em;}
body {margin-left: 10%; margin-right: 10%;}
.cntrp {text-align:center}
.tbordcntrp {font-weight:bold; text-align:center}
h1 { font-family: arial, “sans serif”, Monospace, Cursive; margin-top:1em; margin-bottom: 0em;}
h2 {font-weight:555; font-family: arial, “sans serif”, Monospace, Cursive; margin-top:0em; margin-bottom: 0.5em;}
h3 {margin-bottom: 0em;}
h3,h5,h6 {font-weight:555; font-family: arial, “sans serif”, Monospace, Cursive; margin-left: 0%; }
h4{font-weight:555; font-family: arial, “sans serif”, Monospace, Cursive; margin-left: 0%; }
[url]www.gordonengraving.co.uk