Support Forum
 
  Support Forum  Modules  Engage: Publish  XHTML Compliance - Span Tags
Previous Previous
 
Next Next
New Post 5/12/2008 10:15 AM
  Solyad
8 posts
No Ranking


XHTML Compliance - Span Tags 
Modified By Solyad  on 5/12/2008 9:16:33 AM)

Hi

Im working towards building a site using Engage Publish that I would like to have passing the wc3 validator and im running into a few issues.

With the standard Text/HTML module there is a small fix you can do to stop it outputting span tags. However Engage Publish is also putting the text into a span tag also. Is there anyway to get it into a div tag instead.

Its a failure to have a p tag inside a span tag so Im trying to eliminate theses errors

e.g. it gives this

<div id="divArticleContent" class="Normal">
<span id="dnn_ctr412_ItemDisplay_ArticleDisplay_lblArticleText">
<p>Nam erat. Fusce rhoncus tincidunt lacus. Nulla tempor sem nec leo.</p>
</span>
</div>

and id prefer this

<div id="divArticleContent" class="Normal">
<div id="dnn_ctr412_ItemDisplay_ArticleDisplay_lblArticleText">
<p>Nam erat. Fusce rhoncus tincidunt lacus. Nulla tempor sem nec leo.</p>
</div>
</div>

 

 

 

 
New Post 5/12/2008 10:20 AM
  Chris Hammond
822 posts
2nd Level Poster


Re: XHTML Compliance - Span Tags 

Solyad, thanks for the info on this. We will definitely look at this as we start our overhaul of the display side. Our goal is to standardize all of the display controls, and clean up the UI for our next release. This definitely fits with those goals.


DotNetNuke Core Team Member
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 5/12/2008 11:24 AM
  Solyad
8 posts
No Ranking


Re: XHTML Compliance - Span Tags 

If its fixed in the future thats good enough for me!

Just FYI and maybe you know it already - the fix in the Text/HTML module is to change

portal/_default/containers/_default/No Container.ascx  and change the span tags to div tags....

Theres one other issue I've found and its the javascript injected into the page

The block that starts with var Engage_ThumbnailHashtable = {};   - because this is in the source, the wc3 validator goes through it and gives about 10 false errors. I wonder if this js was brought in as a file reference only would it clean these up too.

Thanks

John

 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Publish  XHTML Compliance - Span Tags
Buy now!

Purchase modules

click here to buy now

Please click here to register for an account and payment will be processed via PayPal.

Test Drive!

Test drive our modules

click here to test drive our modules

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Online Support

Get the latest!