Validate with W3C

GK User
Wed Jun 05, 2013 5:29 am
Hi,

I am trying to validate my site with w3c but I have a several error that I don't know how to fix it. Can you help me?

This code is one of 16 :( :
Code: Select all
 Line 179, Column 14: end tag for element "span" which is not open

176. <ol class="gkTabsNav">
177. <li class="gkTabs-1 active" data-animation="default">
178. <span>    <span></span> Noticias</span>
179. </span>    </li>
180. <li class="gkTabs-2" data-animation="default">
181. <span>    <span></span> Eventos</span>
182. </span>    </li>
183. </ol>
User avatar
Junior Boarder

GK User
Wed Jun 05, 2013 7:21 am
In 178 You opened span two times and closed span two times, but in 179 you close span again.
Same in 181 and 182
User avatar
Moderator

GK User
Wed Jun 05, 2013 4:44 pm
Thank you Cyberek for your help, I Installed the module and I have inserted the title of the article using the administration site. Where I can fix that error.
User avatar
Junior Boarder

GK User
Thu Jun 06, 2013 10:05 am
Please send me a PM with:
1. URL to your website
2. login and password of user with admin/super-admin privileges (please create one for me)
3. link to this thread
User avatar
Moderator

GK User
Thu Jun 06, 2013 5:59 pm
I sent you the information that you ask to your inbox.

Thank you.
User avatar
Junior Boarder

GK User
Fri Jun 07, 2013 10:36 am
For quick fix, replace file:
/templates/gk_game_magazine/html/mod_tabs_gk5/default.php
with one from attachment.
(Please backup original file firstly).
default.php.zip
User avatar
Moderator

GK User
Sun Jun 09, 2013 10:49 pm
I try the code and it work, I still have 14 error using w3c validator:

Line 178, Column 53: there is no attribute "data-config"

Line 178, Column 53: there is no attribute "data-config"
Line 181, Column 62: there is no attribute "data-animation"

Code: Select all
178. <div id="gk-tabs-126" class="gkTabsGK5" data-config="{'activator':'click','animation':'1','animation_speed':'250','animation_interval':'5000','animation_type':'opacity','animation_function':'Fx.Transitions.linear','active_tab':'1','cookie_save':'0','auto_height':'0','module_height':'330'}">
179.<div class="gkTabsWrap vertical">
180.<ol class="gkTabsNav">
181.<li class="gkTabs-1 active" data-animation="default">
182.<span>    <span></span> Noticias    </span>    </li>
183.<li class="gkTabs-2" data-animation="default">
184.<span>    <span></span> Eventos    </span>    </li>
185.</ol>
User avatar
Junior Boarder

GK User
Mon Jun 10, 2013 8:01 am
It seems, that You are using wrong validator and trying to validate html5 code with a validator for xhtml, html4 or something else.
User avatar
Moderator

GK User
Mon Jun 10, 2013 3:29 pm
Oh ok, what kind of validator do you recomend me to use?

Cyberek wrote:It seems, that You are using wrong validator and trying to validate html5 code with a validator for xhtml, html4 or something else.
User avatar
Junior Boarder

GK User
Mon Jun 10, 2013 3:50 pm
One that works with html5 :)
User avatar
Moderator


cron