Newsgroups: alt.html
From: Andy Dingley <ding...@codesmiths.com>
Date: Thu, 30 Mar 2006 02:08:04 +0100
Local: Thurs 30 Mar 2006 02:08
Subject: Re: inline vs. block
On Wed, 29 Mar 2006 21:40:44 +0100, David Dorward <dorw...@yahoo.com>
wrote: >Stan McCann wrote: Read the DTD >> How is a novice to tell the difference between an inline and block <!ENTITY % special <!-- %inline; covers inline or "text-level" elements --> These have told us that SPAN is a member (indirectly) of %inline; The following tells us that the content model _inside_ SPAN is also <!ELEMENT SPAN - - (%inline;)* -- generic language/style For P we see that it's %block;, but that its content model is %inline; <!ENTITY % block <!ELEMENT P - O (%inline;)* -- paragraph --> >The basic difference is that blocks have a line break before and after them, No, this is incorrect. That's the default CSS behaviour of the element >while inline flow beside each other and word wrap. (confusingly also called "block" and "inline" which is not the same as the HTML content model that control valid nesting. We can change the CSS behavious at will with the display property. We're You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||