Re: Niedzielni webmajstrzy (a propos PCkuriera 14/97)

Autor: Grzegorz Staniak (gstaniak_at_golem.umcs.lublin.pl)
Data: Tue 08 Jul 1997 - 12:11:42 MET DST


On 8 Jul 1997 08:27:05 GMT, Pawel Wiecek
<coven_at_i17linuxb.ists.pwr.wroc.pl> wrote:

>In pl.listserv.polip Tomasz Pilat <tomekp_at_fenix.xyz.lublin.pl> wrote:
>> [Pine sie sypnal dwa razy, a news.lublin.pl nie chce skasowac postingu]
>(cza bylo uzywac tin-a ;^) ).
>
>> In pl.comp.www Tomasz Pilat <poncjusz_at_ajax.umcs.lublin.pl> wrote:
>> > Pawel Wiecek (coven_at_i17linuxb.ists.pwr.wroc.pl) wrote:
>> > : Akapit to centruje <p align=center>, <center> centruje... Hmmm... jak
>> > : przetlumaczyc division?
>> Nie prawda! <P ALIGN="center"> i <CENTER> to to samo w/g specyfikacji.
>
>Wrong. <center> to _wedlug specyfikacji_ <div align=center>.
>(kto ma specyfikacje pod reka, zeby to pokazac?)

Racja. Wilbur:

--- cut here ---

DIV and CENTER

<!ELEMENT DIV - - %body.content>
<!ATTLIST DIV
        align (left|center|right) #IMPLIED -- alignment of
following text --
>

<!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->
<!ELEMENT center - - %body.content>

DIV elements can be used to structure HTML documents as a hierarchy
of divisions. The ALIGN attribute can be used to set the default
horizontal alignment for elements within the content of the DIV
element. Its value is restricted to LEFT, CENTER or RIGHT, and is
defined in the same way as for the paragraph element <P>.

Note that because DIV is a block-like element it will terminate an
open P element. Other than this, user agents are not expected to
render paragraph breaks before and after DIV elements. CENTER is
directly equivalent to DIV with ALIGN=CENTER. Both DIV and CENTER
require start and end tags.

CENTER was introduced by Netscape before they added support for the
HTML 3.0 DIV element. It is retained in HTML 3.2 on account of its
widespread deployment.

--- cut here ---

oraz Cougar:

--- cut here ---

<!ELEMENT DIV - - %block.content>
<!ATTLIST DIV
  %attrs; -- id, class, style, lang, dir,
title --
  %just; -- alignment of following text --
>

<!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->
<!ELEMENT CENTER - - %block.content>

--- cut here ---

> Pawel

--
Grzegorz Staniak
<gstaniak_at_golem.umcs.lublin.pl>


To archiwum zostało wygenerowane przez hypermail 2.1.7 : Wed 19 May 2004 - 16:04:27 MET DST