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


Groups > comp.lang.javascript > #8521

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-22 08:42 +0200
Organization A noiseless patient Spider
Message-ID <jafg8d$2pd$1@dont-email.me> (permalink)
References <gqamc7phm92nv5ln9je0cpbgr8f2tddr8l@4ax.com>

Cross-posted to 2 groups.

Show all headers | View raw


2011-11-22 7:09, Gene Wirchenko wrote:

>       I do not know if my problem is HTML, JavaScript, my browser, my
> text, though I doubt it is me.  But who knows?

We would probably find it out rather soon if you gave us a URL.

>       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?

That's impossible to say without seeing the actual code. And of course 
this means that we need the URL of the page that generates the HTML code 
client-side.

When you have an <h2> element in HTML followed by text content, there 
will normally be empty space, corresponding to one empty line or so, due 
to default styling (default margin-bottom for <h2>). Wrapping the text 
content in a <p> container normally has no impact on this, since by CSS 
rules, adjacent vertical margins "collapse" (i.e., the combined effect 
is the larger of the margins, not their sum).

The default behavior might be affected by various factors, such as a 
style sheet in the document and markup errors.

-- 
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