Article View: chile.comp.programacion
Article #2685Re: <TABLE align="center"> en HTML 4 / CSS?
From: Jos� Miguel Santib��ez
Date: Wed, 26 Oct 2005 03:22
Date: Wed, 26 Oct 2005 03:22
36 lines
2297 bytes
2297 bytes
En el cap�tulo anterior (news:435edc5a@news.vcd.cl), NOmigSPuelAM@lj.cl
(Miguel Farah F.) dijo:
> Tengo un documento HTML lleno de tablas declaradas as�:
>
> <TABLE align="center" BORDER="1" width="80%">
>
> que quiero llevar a HTML 4.01 / CSS. El argumento "width" es trivial -
> basta con poner esto:
>
> TABLE { width: 80% }
>
> en el CSS. Lo que no tengo claro es c�mo llevar el 'align="center"' a
> CSS.
>
http://www.htmlhelp.com/reference/html40/tables/table.html
The deprecated ALIGN attribute suggests the horizontal alignment of the
table on visual browsers. Possible values are left, right, and center.
Browsers generally present left- or right-aligned tables as floating
tables, with the content following the TABLE flowing around it. To prevent
content from flowing around the table, use <BR CLEAR=all> after the end of
the TABLE.
Since many browsers do not support ALIGN=center with TABLE, authors may
wish to place the TABLE within a CENTER element.
Style sheets provide more flexibility in suggesting table alignment but
with less browser support than the ALIGN attribute.
--
Jose M. Santiba�ez A.
<jms@nivel5.cl>
<http://caos.cl/jms>
Technical Details
Message-ID:
<Xns96FB3C78129Bjmsnews@200.27.221.71>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.vcd.cl!not-for-mailReferences:
<435edc5a@news.vcd.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,468f243b5804c8e8
X-Google-Attributes: gid1593cb,public
X-Google-Language: ENGLISH,ASCII
Newsgroups: chile.comp.programacion
Subject: Re: <TABLE align="center"> en HTML 4 / CSS?
From: "Jos� Miguel Santib��ez" <jms.nospam@nivel5.cl>
References: <435edc5a@news.vcd.cl>
Organization: Caos Consultores
Message-ID: <Xns96FB3C78129Bjmsnews@200.27.221.71>
User-Agent: Xnews/5.04.25
X-Face: +|NgjgFM{<rs%\Q|vUu16]a6,}?MJTA<!PEEI+x&Gw-Gyq+?$}fvo+.(,-r;)~Qzn)#{{nxU,OT?w^s<7m4ckCJ*L$c#I)yHL7b)GdU*#l
NNTP-Posting-Host: 187-84-112.adsl.terra.cl
X-Original-NNTP-Posting-Host: 187-84-112.adsl.terra.cl
Date: 25 Oct 2005 23:22:42 -0400
X-Trace: news.vcd.cl!not-for-mail 1130293362 187-84-112.adsl.terra.cl (25 Oct 2005 23:22:42 -0400)
X-Original-Trace: 25 Oct 2005 23:22:42 -0400, 187-84-112.adsl.terra.cl
Lines: 36
X-Authenticated-User: jms
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.vcd.cl!not-for-mail