homepage Welcome to WebmasterWorld Guest from 54.198.25.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Weird code generated?
...i don't get this one
followgreg

10+ Year Member



 
Msg#: 2262 posted 8:30 am on Oct 30, 2004 (gmt 0)

Hi all,

I have a developer that custumized a site using storefront, it's a .NET solution, pages are .aspx.

And i don't get why he's puting tables after the </body> tag?

Example:

</div>
</body>
</HTML></TD>
</TR>
<tr>
<td align="center" width="10" background="images/images/front_78.gif"><IMG height="10" alt="" src="images/images/front_78.gif" width="10"></td> ............etc....

Am i crazy or this should not be like this?
Also there is a second <title> in his page, and i believe that this is very bad for SEO, and i don t get why either.

I am really confused with this.

The developer told me also that it is impossible to generate div layers in the CSS, that he has to put tables everywhere, is that true?

Thanks for answering, cause i am the most confused person right now :-o

 

jpjones

10+ Year Member



 
Msg#: 2262 posted 9:08 am on Oct 30, 2004 (gmt 0)

As far as valid HTML goes, there should be nothing after the closing body and html tags! And a page only has 1 title....

Div layers can be placed into the html, and the layout of them controlled via CSS.
Not sure what your developer is on about...

HTH,
JP

duckhunter

10+ Year Member



 
Msg#: 2262 posted 2:29 am on Oct 31, 2004 (gmt 0)

Agreed. You can run the page through an HTML Checker like the W3C Validator [validator.w3.org ]

followgreg

10+ Year Member



 
Msg#: 2262 posted 9:21 pm on Oct 31, 2004 (gmt 0)

Thanks guys!

What i don't get in this code is that when i log on the developer account, it seems that the code is fine but when it generates the html for the browser, its completely scrumble!
Do you have an idea about this?

defanjos

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 2262 posted 9:52 pm on Oct 31, 2004 (gmt 0)

I'd see if you are using include files.
It looks like, maybe, there is an include file that opens a table, and another that closes it after the content is inserted, but there is something wrong with the order.

TheNige

10+ Year Member



 
Msg#: 2262 posted 11:54 pm on Nov 1, 2004 (gmt 0)

Developer is smoking crack....should not be any need for tables after the body tag, unless as mentioned code is being injected with includes or other means...maybe unexpectedly.

Sanenet

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 2262 posted 11:59 pm on Nov 1, 2004 (gmt 0)

Don't know about ASP, but in CF there is a global file (OnRequestEnd.cfm) that is automatically appended to all files. Could be something like this.

Also under IIS check that "Enable Document Footer" is not enabled (Under the Documents tab)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved