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


Groups > comp.lang.javascript > #8544

Re: <h2> Odd Behaviour?

From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups alt.html, comp.lang.javascript
Subject Re: <h2> Odd Behaviour?
Date 2011-11-23 01:12 +0200
Organization A noiseless patient Spider
Message-ID <jaha8d$3rt$1@dont-email.me> (permalink)
References <gqamc7phm92nv5ln9je0cpbgr8f2tddr8l@4ax.com> <jafg8d$2pd$1@dont-email.me> <9g8oc7d651b5t8m3gvu2k7eokd2iasbo4p@4ax.com>

Cross-posted to 2 groups.

Show all headers | 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