Page 1 of 1
Problems with W3C CSS Validation
Posted: 16 Feb 2009, 08:10
by Spearhead
I've got troubles with the CSS Validation. Some Errors i was able to fix but there are CSS-Tags which seem to be dynamically created. Maybe someone could help to fix it. I've attached validation-results.
Re: Problems with W3C CSS Validation
Posted: 19 Feb 2009, 20:57
by Jan
Hi, the problem is, some css style code parts are e.g. hacks, e.g. hacks for correctly displaying in IE, so you need to decide, if you want to display the code correctly in some non standard browsers like IE or you will have the valid code... The CSS you find in main Phoca Gallery CSS code or in special IE files... see the folder:
- comonents/com_phocagallery/assets/
Jan
Re: Problems with W3C CSS Validation
Posted: 22 Feb 2009, 12:39
by Spearhead
There seems to be another css tag in one of the HTML or PHP Files, because i've uncommented all tags which are not valid and the errors which are on the screenshot, i can't find because these style tags aren't in phocagallery.css or phocagalleryall.css.
Re: Problems with W3C CSS Validation
Posted: 14 Mar 2009, 20:56
by Jan
Re: Problems with W3C CSS Validation
Posted: 16 Mar 2009, 22:08
by alphastar
The same errors I've got when try to validate my site. But finally I desided to refuse from 100% validity and save these errors. There is statistics of popular browsers
http://www.w3schools.com/browsers/browsers_stats.asp
I'd rather prefer to leave 17% owners of IE6 without correct site showing, but satisfy another 80% with my none valid code. I saw many sites of russian Joomla gurus and all of them were not valid, they contained 17-66 errors per site and much more warnings. And nobody complained.
So I support Jan do not to validate 100% code to save normal site watching.