Problems with W3C CSS Validation
-
Spearhead
- Phoca Newbie

- Posts: 4
- Joined: 04 Feb 2009, 23:04
Problems with W3C CSS Validation
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.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problems with W3C CSS Validation
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
- comonents/com_phocagallery/assets/
Jan
If you find Phoca extensions useful, please support the project
-
Spearhead
- Phoca Newbie

- Posts: 4
- Joined: 04 Feb 2009, 23:04
Re: Problems with W3C CSS Validation
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.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problems with W3C CSS Validation
If you find Phoca extensions useful, please support the project
- alphastar
- Phoca Member

- Posts: 10
- Joined: 31 Jan 2009, 17:31
- Location: Donetsk, Ukraine
- Contact:
Re: Problems with W3C CSS Validation
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.
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.
Be bright and shine like alpha stars!