>
> > Sorry, I put this dot only in the newsgroup message (by mistake). On
> > the real page I do not have dots (and it still does not work).
>
> Oh. =A0Well try adding a dot.
Are you tired today? It seems to me that the original poster (OP)
don't know the difference between inline-level elements
and block-level elements (div is a block-level element, span is an
inline-level element ). And I can't blame it.
CSS:
"Block-level elements are those elements of the source document that
are formatted visually as blocks (e.g., paragraphs). Several values of
the 'display' property make an element block-level: 'block', 'list-
item', and 'run-in' (part of the time; see run-in boxes), and
'table'."
"Inline-level elements are those elements of the source document that
do not form new blocks of content; the content is distributed in lines
(e.g., emphasized pieces of text within a paragraph, inline images,
etc.). Several values of the 'display' property make an element
inline: 'inline', 'inline-table', 'compact' and 'run-in' (part of the
time; see compact and run-in boxes). Inline-level elements generate
inline boxes."
HTML Block-level and Inline-level:
"Certain HTML elements that may appear in BODY are said to be "block-
level" while others are "inline" (also known as "text level"). The
distinction is founded on several notions:"
HTML notions on Block-level and Inline-level:
"Content model
Generally, block-level elements may contain inline elements and other
block-level elements. Generally, inline elements may contain only
data and other inline elements. Inherent in this structural
distinction is the idea that block elements create "larger" structures
than inline elements.
Formatting
By default, block-level elements are formatted differently than
inline elements. Generally, block-level elements begin on new lines,
inline elements do not. For information about white space, line
breaks, and block formatting, please consult the section on text.
Directionality
For technical reasons involving the [UNICODE] bidirectional text
algorithm, block-level and inline elements differ in how they inherit
directionality information. For details, see the section on
inheritance of text direction."
It's okay, but where is it defined?
Block-level elements:
strict.dtd_Block>
Inline-level elements:
strict.dtd_Inline>
For similar definitions not designed to work in conjunction with XML-
based user agents:
Re: text align does not work
am 08.04.2008 18:39:04 von jmm-list-gn
On 04/07/08 05:45 pm, Fro wrote:
>
> I have an html-strict-valid document. In css I declare a specific text-
> align for class ".instructions" (the text alignment is "justify").
> However, the text put into
...
is
> not aligned in the desired way. On my Mozilla browser it is aligned to
> the "right", on my Explorer browser it is aligned to "center".
>
> Why it happens and how this problem can be solved?
>
is an inline element, not a block element, so text alignment is
meaningless there. Use s, not s.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Re: text align does not work
am 09.04.2008 01:30:10 von Neredbojias
On 08 Apr 2008, "Roy A." wrote:
>> >> Remove the dot from
>>
>> > Sorry, I put this dot only in the newsgroup message (by mistake). On
>> > the real page I do not have dots (and it still does not work).
>>
>> Oh. Well try adding a dot.
>
> Are you tired today? It seems to me that the original poster (OP)
> don't know the difference between inline-level elements
> and block-level elements (div is a block-level element, span is an
> inline-level element ). And I can't blame it.
Hehe, yeah, I was being a little flippant. Fatigue had set in and I just
didn't feel like dealing with it. Furthermore, I had to take a dump.
Good reply (yours), though. If enough people give the right answers, can I
not remain true to my basic nature as a smartass?
--
Neredbojias
http://www.neredbojias.com/
Great sights and sounds