Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #10568

Re: allow blocked content

Date 2012-01-25 23:08 +1100
From Andrew Poulos <ap_prog@hotmail.com>
Newsgroups comp.lang.javascript
Subject Re: allow blocked content
References (2 earlier) <OuednX7n5KzqiILSnZ2dnUVZ_rOdnZ2d@westnet.com.au> <5379446c-6786-47f6-963c-ef67e11b0c9d@z12g2000yqm.googlegroups.com> <MMWdnawk_OP78oLSnZ2dnUVZ_uidnZ2d@westnet.com.au> <3662251.QlheKOReXk@PointedEars.de> <RICdnZhO9PYLGYLSnZ2dnUVZ_gKdnZ2d@westnet.com.au>
Message-ID <w_KdnUt8iNYsbYLSnZ2dnUVZ_hadnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


On 25/01/2012 3:27 PM, Andrew Poulos wrote:
> On 25/01/2012 2:11 PM, Thomas 'PointedEars' Lahn wrote:
>> Andrew Poulos wrote:
>>
>>> On 25/01/2012 10:00 AM, Michael Haufe (TNO) wrote:
>>>> On Jan 24, 2:32 pm, Andrew Poulos<ap_p...@hotmail.com> wrote:
>>>>> I have tried using a .hta file but it appears to render the page
>>>>> noticeably differently for no reason.
>>>> You can be certain there is a reason.
>>>> Are you using an appropriate doctype for instance?
>>>
>>> According to
>>> <http://msdn.microsoft.com/en-us/library/ie/ms536496%28v=vs.85%29.aspx>
>>> a .hta starts with<html>. Is this not correct?
>>
>> That URI is 404-compliant here. However, having only superficial
>> experience
>> with HTAs, I find it unlikely that a .hta *needs to* start with
>> `<html>'; it
>> is more likely that you have found a bad example (the MSDN Library is
>> strewn
>> with them).
>>
>> AFAIK, the layout engine that is used is the same as the one that
>> Internet
>> Explorer usually uses (MSHTML), and we do know what happens there if you
>> omit the DOCTYPE declaration or omit the system identifier from it.
>>
>> You could simply have tried *before* you asked.
>
> Yes I should've. I didn't because I had wrongly assumed that MS would
> documented their own features correctly. I just did a quick test and
> adding an appropriate doctype does appear to make a positive difference.

More testing, and it appears that adding an appropriate doctype (in this 
case HTML 4 Strict) has sorted the display issues I was having.

Andrew Poulos

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-24 15:47 +1100
  Re: allow blocked content Martin Honnen <mahotrash@yahoo.de> - 2012-01-24 12:45 +0100
    Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-25 07:32 +1100
      Re: allow blocked content "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-24 15:00 -0800
        Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-25 13:56 +1100
          Re: allow blocked content Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-01-25 04:11 +0100
            Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-25 15:27 +1100
              Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-25 23:08 +1100
                Re: allow blocked content "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-25 09:23 -0800
                Strecthed Fonts Was: Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-26 14:49 +1100
                Re: Strecthed Fonts Was: Re: allow blocked content "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-25 20:17 -0800
                Re: Strecthed Fonts Was: Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-27 07:54 +1100
                Re: Strecthed Fonts Was: Re: allow blocked content Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-01-27 01:31 +0100
                Re: Strecthed Fonts Was: Re: allow blocked content "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-26 19:46 -0800
                Re: Strecthed Fonts Was: Re: allow blocked content Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-01-27 14:08 +0100
                Re: Strecthed Fonts Was: Re: allow blocked content "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-27 08:33 -0800
                [OT] On- and off-topic postings (was: Strecthed Fonts) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-01-27 19:09 +0100
                Re: Strecthed Fonts Was: Re: allow blocked content Dr J R Stockton <reply1204@merlyn.demon.co.uk> - 2012-01-28 18:37 +0000
                Re: Strecthed Fonts Was: Re: allow blocked content "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-26 16:38 -0800
                Re: Strecthed Fonts Was: Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-27 14:19 +1100
                Re: Strecthed Fonts Was: Re: allow blocked content "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2012-01-26 19:43 -0800
                Re: Strecthed Fonts Was: Re: allow blocked content Arno Welzel <usenet@arnowelzel.de> - 2012-01-28 10:30 +0100
                Re: Strecthed Fonts Was: Re: allow blocked content Andrew Poulos <ap_prog@hotmail.com> - 2012-01-29 07:58 +1100
    Re: allow blocked content Dr J R Stockton <reply1204@merlyn.demon.co.uk> - 2012-01-25 19:49 +0000

csiph-web