I normally try XHTML Validation, however, this time I'm trying CSS validation as well.
Most of these errors that I came across were in "background-color" and it says you've NO "background-color", which after delving into it further, I realised that whereever I've "color", I HAVE TO HAVE "background-color" as well or whereever I had "background-image", I should ALSO have "background color" & "color", alongside.
Bearing this in mind, I managed to reduce the error considerably, however, there seems a tiny hiccup at the moment.
I've the background of "centerContent" as image. WITHIN this centerContent, I've texts & within these texts, I've many headings.
Now, if I use "h3" and type in "Favourite", it'll display in "h3" style, HOWEVER, the precise background of "h3" stays whatever the background of the "contentCenter" is, which is perfectly fine.
h3
{
color:purple;
font-family:Georgia, "Times New Roman", Times, serif;
text-align:left;
font-size:150%;
margin:2% 3%;
border-bottom:thin solid #990000;
}
Now, the "background-color:transparent" works perfectly well but if I put "background-color:transparent", I'm STILL getting warning for that. Hence, when I do "background-color:#FFFFFF;", I'll get the "white" space behind the "h3" and NOT the contentCenter's image. Same goes for other elements like "p", "h1", etc.
In addition, if I do "background:url(centercontentbackground.jpg) #FFFFFF;", what it does is that it although displays the "centerContent's" image, but it displays it OVER "centerContent's image" i.e. the same image OVER each other.
Attached with this message is the "template" page i.e. the way it look IF I add "background:url(centercontentbackground.jpg) #FFFFFF;" in "p" element.
While the same template page can be seen with ONLY ONE image i.e. "centerContentbackground's image" perfectly well on:
http://darsh25.silverserve.co.uk/AllInclusiveWebDesign/template.php