You need to Register for free and Login to post a message in the forum.

Forum

Subject: IMG ‘closing tag’ being omitted
Prev Next
You are not authorized to post a reply.

Author Messages
sped
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:21

17 Dec 2009 6:09 PM  

I have a problem with an IMG ‘closing tag’ being omitted from code for a Container.

 

I've added the following line of code in the Container - links.ascx :

< h3 >< img alt="Links" border="0" src="<% =SkinPath %>images/links.gif" />< /h3 >

 

 

The problem is the IMG closing tag is being omitted when it is rendered within the browser, therefore it is not validating with w3

It is being rendered as follows:

< h3 >< img alt="Links" border="0" src="<% =SkinPath %>images/links.gif" >< /h3 >

 

 

Is there any way to prevent the IMG closing tag from being omitted so it is correct HTML markup and also validates correctly?

 

Thanks

Lee Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5282


18 Dec 2009 4:43 AM  
I have not come across that problem before - Could you attach your container?

It sounds as though there maybe a mistake in the html somewhere.

The best way to check is to use Visual Web Developer Express, with the container file open in VWD go to the View menu / Error List - check to see if it gives you any errors

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
sped
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:21

18 Dec 2009 11:09 PM  
Hi Lee,

I’ve attached the container file for your viewing.

 

Thanks


Attachment: 1121894944471.zip

sped
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:21

31 Jan 2010 7:01 PM  

Any idea why the IMG closing tag is being omitted when rendered?

Thanks

Joseph Craig
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5311


01 Feb 2010 7:27 PM  
Is this any img tag, or one specifically?

Joe Craig
DNN Creative Support
Subscribe to the website
sped
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:21

01 Feb 2010 9:12 PM  

It only occurs with the image tag in the Container (as attached in the earlier reply).

Thanks

sped
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:21

22 Feb 2010 7:11 PM  

Any ideas on how to resolve this issue?

Thanks

 

You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > IMG ‘closing tag’ being omitted



ActiveForums 3.7

Latest Forum Posts

extending user accounts for membership by cbwardsr
could someone pt me in the direction of some literature regarding adding fields to user accounts. ...
RE: Strange behaviour when pressing login by pontus66
Problem solved!Though I am not sure how. I haven't talked to my programmer yet, but he sent a mail a...
Dynamic Forms Email From User/Pass by Trusted
Hello everyone, We have a client with restrictive mail policies so a username and password is requi...
Using Default Template for Pages by toddre
I have a default template that I would like all Admins to use when creating new pages. I would also ...
RE: DataSprings Dynamic Forms Demo #20 Question by aggiedan97
Thanks for the feedback. I will let you know what I find and I have posted on the DS forum. So far ...
RE: ITextSharp by leesykes
Glad you got it sorted, what was the solution for anyone else searching for this problem?
RE: DataSprings Dynamic Forms Demo #20 Question by leesykes
Hello,This is not something I have explored yet, but as it happens I am going to be building a form ...
DataSprings Dynamic Forms Demo #20 Question by aggiedan97
I am attempting to build an order form that subtotals a section that is based on the 'TotalByQuan&nb...
RE: Shared Same content in Sub portals/ Childportals by leesykes
Hello,Your other option is to use RSS feeds for sharing content. Setup a module on your main site su...
RE: Should I be able to use a plain submit button in my module? by DiscoStu1975
Hi I used an ASP:button control originally and that produced exactly the same error with JS disa...
RE: Strange behaviour when pressing login by jncraig
Hmmm, I think that I have seen something like this before, but I'm having trouble remembering the ex...
RE: Shared Same content in Sub portals/ Childportals by jncraig
There are modules available that will permit you to share pages, modules and user among portals in a...
RE: Should I be able to use a plain submit button in my module? by jncraig
Using a form submit button won't work. If you use an ASP:button control that will work as clicking ...
RE: Should I be able to use a plain submit button in my module? by DiscoStu1975
Hi Joseph Thanks for the response. I am using an html input of type submit, yes. When you say a l...
RE: Should I be able to use a plain submit button in my module? by jncraig
Are you using a form submit button? Try just just using a link and see if that works.
RE: Removing the filed by jncraig
I don't know an easy way to do that, short of editing the ascs file that displays that information. ...
RE: ITextSharp by jumatthey
Problem solved.
Removing the filed by kaustav_kar
Hi,I want to remove the option Display Name from this page. http://whydiet-com.stagemefaster.com/hom...
Should I be able to use a plain submit button in my module? by DiscoStu1975
I have developed a module that is basically a simple data capture form. As I need the form to work w...
RE: Links by rajanijadhav
I have another question,in paypal integration for payment i have used [script removed]
DNM Rapid Application Developer Trial Version
RSS Feeds