Re: centering an <img> in html3?

Chris G Demetriou (Chris_G_Demetriou@lagavulin.pdl.cs.cmu.edu)
Mon, 05 Jun 1995 00:15:20 -0400


Message-Id: <9506050415.AA03632@www10.w3.org>
To: Alexei Kosut <akosut@nueva.pvt.k12.ca.us>
Cc: Multiple recipients of list <www-html@www10.w3.org>
Subject: Re: centering an <img> in html3? 
In-Reply-To: Your message of "Sun, 04 Jun 1995 21:02:39 PDT."
             <Pine.HPP.3.91.950604210047.17939A-100000@ace.nueva.pvt.k12.ca.us> 
Date: Mon, 05 Jun 1995 00:15:20 -0400
From: Chris G Demetriou <Chris_G_Demetriou@lagavulin.pdl.cs.cmu.edu>

> On Sun, 4 Jun 1995, Chris G Demetriou wrote:
> 
> > Looking through the html-ized HTML3 spec at
> > http://www.hpl.hp.co.uk/people/dsr/html/CoverPage.html
> > I noted that there appears to no "reasonable" way to center <img>s.
> 
> Try <P ALIGN=center><IMG ...></P>. As far as I'm aware, that should do 
> nicely.

Thanks!  That worked wonderfully.  I'd not even thought of using <p>.  8-(

> > Does anybody know how to do what I'm trying to do, with <fig>?  If it's
> > not possible, is there hope of getting the "center" alignment spec
> > added to <img> tags in the html3 standard?  (<fig> has the added
> 
> There already is a 'center' alignment option in IMG - it's a vertical 
> alignment, though.

Hmm.  It's not listed in the HTML3 spec (at least, not in the one that
I mentioned above).  The only alignment options listed for <img>s are
"top", "middle", and "bottom" (which are vertical alignment), and
"left" and "right" (for horizontal alignment.)  Though the other
horizontal alignment options were there, "center" was missing.



later,

chris