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


Groups > comp.lang.javascript > #8544

Re: <h2> Odd Behaviour?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups alt.html, comp.lang.javascript
Subject Re: <h2> Odd Behaviour?
Date Wed, 23 Nov 2011 01:12:14 +0200
Organization A noiseless patient Spider
Lines 28
Message-ID <jaha8d$3rt$1@dont-email.me> (permalink)
References <gqamc7phm92nv5ln9je0cpbgr8f2tddr8l@4ax.com> <jafg8d$2pd$1@dont-email.me> <9g8oc7d651b5t8m3gvu2k7eokd2iasbo4p@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 22 Nov 2011 23:12:14 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="ngroV0xYIIv0dzjhyZhv5A"; logging-data="3965"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0NbruSiAit52FwzwdGQGy"
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <9g8oc7d651b5t8m3gvu2k7eokd2iasbo4p@4ax.com>
X-Antivirus-Status Clean
X-Antivirus avast! (VPS 111122-1, 22.11.2011), Outbound message
Cancel-Lock sha1:i/8u4P5GBFKZ6KojExIv3WYbT0U=
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:8544

Cross-posted to 2 groups.

Show key headers only | View raw


2011-11-23 0:37, Gene Wirchenko wrote:

>       There is no URL.  This is internal.

Then you should have set up a URL. It was more difficult to me to do 
that, since the code you posted here had some line breaks inserted by 
your newsreader and I had to fix the issues. But there it is:
http://www.cs.tut.fi/~jkorpela/test/odd.html

>>>        Note the blank line between the "Windows Properties" and "Frames"
>>> lines.  Note that there is no blank line between the "Browser
>>> Properties" and values lines.  Why not?

This seems to happen on IE only, and if you refresh the Output Window, a 
blank line gets inserted. The same happens if you do F12 on IE 9. So it 
seems to be an IE quirk. It does not happen if the content is presented 
as a static document.

And the quirk seems to vanish if you add <!doctype html> at the start of 
the generated document.

>       The doctype is a default provided by Dreamweaver 8.  I do not
> know which doctype I should use so I have gone with the default.

In your code, the _generated_ document has no doctype declaration.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

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


Thread

<h2> Odd Behaviour? Gene Wirchenko <genew@ocis.net> - 2011-11-21 21:09 -0800
  Re: <h2> Odd Behaviour? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-22 08:42 +0200
    Re: <h2> Odd Behaviour? Gene Wirchenko <genew@ocis.net> - 2011-11-22 14:37 -0800
      Re: <h2> Odd Behaviour? Doug Miller <doug_at_milmacdotcom@example.com> - 2011-11-22 18:06 -0500
      Re: <h2> Odd Behaviour? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-23 01:12 +0200
        Re: <h2> Odd Behaviour? Gene Wirchenko <genew@ocis.net> - 2011-11-22 17:19 -0800
          Re: <h2> Odd Behaviour? Doug Miller <doug_at_milmacdotcom@example.com> - 2011-11-22 20:26 -0500
  Re: <h2> Odd Behaviour? Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-22 13:25 +0000
    Re: <h2> Odd Behaviour? Gene Wirchenko <genew@ocis.net> - 2011-11-22 14:41 -0800
      Re: <h2> Odd Behaviour? Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-23 01:25 +0000
        Re: <h2> Odd Behaviour? Swifty <steve.j.swift@gmail.com> - 2011-11-23 05:33 +0000
  Re: <h2> Odd Behaviour? Dr J R Stockton <reply1147@merlyn.demon.co.uk> - 2011-11-23 19:51 +0000

csiph-web