NetTalk Central

Author Topic: Compatibility / Possible fixes  (Read 3467 times)

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Compatibility / Possible fixes
« on: May 04, 2010, 10:10:57 AM »
I'm running a sample page through an IE6 compability checker, and I'm thinking the following changes should be made:

1.  In NetWeb.CLW
Old:    packet = '<div id="_busy" class="bdiv"><img src="/images/_busy.gif"></img></div>'
New:  packet = '<div id="_busy" class="bdiv"><img src="/images/_busy.gif" /></div>'

2.  In "After Browse, before buttons," the Save Button set is between the </td> and the </tr>.  It should be inside the <td></td>.
Old:           packet = clip(packet) & '</div><13,10></td><13,10>'
            If p_web.site.UseSaveButtonSet

New:           packet = clip(packet) & '</div><13,10></td><13,10>'
            If p_web.site.UseSaveButtonSet
                 packet = clip(packet) & '<td><13,10>'
(existing code)
                 packet = clip(packet) & '</td><13,10>'

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compatibility / Possible fixes
« Reply #1 on: May 05, 2010, 04:17:51 AM »
Hi Vince,
the second looks like a bug - but do you have a reference for the first.
ie any reference that <img /> over <img></img> is preferable?

Cheers
Bruce

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: Compatibility / Possible fixes
« Reply #2 on: May 05, 2010, 06:03:57 PM »
I was using Microsoft Expression and validating my generated pages...

From http://www.w3.org/TR/REC-html40/struct/objects.html#h-13.2:  "Start tag: required, End tag: forbidden"

Elsewhere, I've read that "<img /> is a singleton tag" and "In HTML the <img> tag has no end tag. In XHTML the <img> tag must be properly closed."  

All very confusing.

I'm still trying to figure out why the Drop Down menu is fine in IE 8, but the menu items (the drop down part with <li><a>, not the menu bar) display incorrectly in IE 6.
« Last Edit: May 05, 2010, 06:06:25 PM by vsorensen »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compatibility / Possible fixes
« Reply #3 on: May 07, 2010, 01:18:00 AM »
Hi Vince,

I've had a look at number 2, and there's a bug there because it should be testing the "UseLocateButtonSet" property not the "UseSaveButtonSet". I've fixed that.

However the only code generated between the </td>and </tr> is a <script>...</script>
From a display point of view that's ok, but it's possible the browser will complain. So I've moved that down to below the table.

Cheers
Bruce