I have no issue with any of that below. It's factually correct. What has 
happened is that some folks have read their own meaning into what I said, which 
is that (apart from <HTML> the <BODY> is the prime and only global element at 
the start of a document. If you simply add text to it, the text will obey any 
settings that have been defined for 'body', including margins and padding. When 
any other element is *added* within 'body' the situation *changes*. The text 
within 'body' will still obey 'body' rules and anything else will set its own 
rules and take over from 'body' and may or may not inherit attributes from 
'body' and may or may not set its own attributes. That's a fundamental fact and 
is the 'change' from 'body' attributes that I originally spoke of. I have never 
mentioned 'inheritance' up until this message, so I don't know where that came 
from.

Regards, 
 
Alan.
 
www.theatreorgans.co.uk
www.virtualtheatreorgans.com
Admin: ConnArtistes, UKShopsmiths, 2nd Touch & A-P groups
Shopsmith 520 + bits
Flatulus Antiquitus


  ----- Original Message ----- 
  From: Alyda Gilmore 
  To: Alan K Baker ; css-d 
  Sent: Friday, October 10, 2008 6:21 AM
  Subject: Re: [css-d] IE position problem


  The following is quoted from
  http://meyerweb.com/eric/articles/webrev/199903.html

  "Not all properties are inherited, however. As an example, most of the box
  properties (margins, padding, and borders) are not inherited."

  To demonstrate this, I've uploaded two files to my server:

  http://www.aroundtheblock.net/tutorials/css/index.php
  http://www.aroundtheblock.net/tutorials/css/indexNoPM.php

  The first page (index.php) has the following in it's stylesheet:

  ul, ol, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, div, blockquote,
  input, textarea, fieldset
  {
    margin: 0;
    padding: 0;
  }

  For the second page (indexNoPM.php) I changed the above selector to include
  only the body:

  body
  {
    margin: 0;
    padding: 0;
  }

  There's an obvious difference in the margin and/or padding of the p, h1, h2,
  and ul elements on each page.

  ---
  Alyda

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to