Monday, 06 April 2015
  6 Replies
  1.9K Visits
0
Votes
Undo
Using JEvents v3.2.8 Stable

Getting this error message on the W3C Validator for HTML5:

 Line 939, Column 129: The width attribute on the table element is obsolete. Use CSS instead.
…ing="0" cellpadding="0" align="center"><tr><td class="m


Here is the full line #939
<table class="mod_events_latest_table" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td class="mod_events_latest_first" style="border-color:#000066"><span class="mod_events_latest_date">Tue Apr 7</span> - All Day<br />


This should be an easy fix. Just remove the 'width' attribute and add a CSS declaration for ".mod_events_latest_table {width:100%;}".

I prefer to not make any changes to add-on's as trying to remember hacks on future updates is a pain. :)

Luke
10 years ago
·
#145557
0
Votes
Undo
Hello Luke,

That's on HTML5 exactly. But not all browsers are HTML5 compatible yet. So it does no harm in leaving the code there.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

10 years ago
·
#145558
0
Votes
Undo
Tony,

It's such an easy fix to incorporate with your next update. Why not go ahead and make it HTML5 compatible?

Luke
10 years ago
·
#145559
0
Votes
Undo
We will be changing the config options for the latest events module soon in version 3.2.x of JEvents to allow you to wrap the latest events rows exactly as you want them.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

10 years ago
·
#145560
0
Votes
Undo
Geraint,

I believe you misunderstand what I am saying. I have no issues with how the wrapping of rows is done. My issue is with HTML5 validation. Now if you answer is suppose to answer this, could you be a bit more clear?

FYI, I know Tony wasn't concerned as HTML5 is not 'fully' support by 'all' browsers but that is changing quickly. As you know, we have had HTML4 since the last 1990's so I would recommend being proactive to get on board with HTML5 compliance as it is not the future, it is now. Just my two cents.
10 years ago
·
#145561
0
Votes
Undo
What Geraint is saying is true.

He means we will not be using tables and so on. So being row's custom designed to be whatever standard you wish.

As we hard code this is, changing it to be customizable will do so by using the likes of DIV's..

Thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

10 years ago
·
#145562
0
Votes
Undo
Tony,

OK, that makes sense now. Can't wait as I'm working on validating over 80+ sites now. I try to stay on the cutting edge. :)

Luke
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.