Re: The 'align' property (or lack thereof)

>>You set both margin-left and margin-right to "auto". I don't know if any
>>browsers support this yet.
>
>They don't (although I havnt checked with the IE5 and Com 4.5)
>
>
>Just tested it in IE5 and Com4.5, and it still doesnt work.
>
>This 'hack' works though:
>
><DIV STYLE="text-align:center;"><IMG SRC="redtall.gif"></DIV>

	And in fact if you want to center an image by itself, you need
to put it inside a block-level element to satisfy HTML 4.0 strict
anyway.  (And specify ALT text, although that wasn't the point of the
example.)
					John T. Whelan
					whelan@iname.com
					http://www.slack.net/~whelan/

Received on Wednesday, 2 September 1998 12:40:11 UTC