Ok, I am validating my xhtml and I am getting this
Line 162, Column 57: ID “contentTitle” already defined
ID “contentTitle” first defined here
Line 141 - <div id="contentTitle">.............</div>
Heres a bit of the code.
Line 162 - <div id=“contentTitle”>…</div>
Now I know I need to add class instead of ID, but I am confused on how to add that.
CSS
#contentTitle {
font-family: Verdana, Geneva, sans-serif;
font-size: 16px;
font-weight: bold;
color: #06C;
padding-left: 10px;
padding-top: 10px;
}
Now wouldnt I use something like
#contentTitle title2 {
font-family: Verdana, Geneva, sans-serif;
font-size: 16px;
font-weight: bold;
color: #06C;
padding-left: 10px;
padding-top: 10px;
}
I know I am missing something very simple to do with class, but I cant point my finger on it.