Joomla RuleZ

W3c Validation Failure 2 errors html5 invalid

  • bochaka
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 years 2 months ago #7247 by bochaka
Hi
I installed the module into joomla 2.5 site, and I get 2 validation errors , my doctype is html5

Error Line 426, Column 38: The align attribute on the div element is obsolete. Use CSS instead.
<div align="center">
‚úČ
Error Line 442, Column 20: The align attribute on the div element is obsolete. Use CSS instead.
<div align="center">

Is there a fix for these or where can I find the offending code

Please Log in or Create an account to join the conversation.

image
Host & stream your video library
image

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Coding is good
More
6 years 2 months ago #7248 by admin
Hello,

open this file :

modules/mod_playerjr/tmpl/default.php

find near line 22
"<div align=\"center\">";


replace by
"<div">";

find near line 41
<div align=\"center\">


replace by
<div>
The following user(s) said Thank You: bochaka

Please Log in or Create an account to join the conversation.

Time to create page: 0.239 seconds
You are here: Home Forum Joomla RuleZ Forum Support Module JW Player Module W3c Validation Failure 2 errors html5 invalid