Re: Centering in HTML?

Kjetil Torgrim Homme (kjetilho@ifi.uio.no)
Fri, 24 Mar 1995 01:54:49 +0500


I hate to jump on the bandwagon, but the obvious answer hasn't been
given yet:

[Terry Allen]

| <p align-center>first line</p>
| <p align-center>second line</>

Simply

<p align=center>
first line<br>
second line</p>

will work as well with no added vertical space. It even works in
Netscape 1.1b1 (don't know about older versions). Netscape does not
support <p align=right> or <p align=justify> yet, though. Also, you
can use <Hx align=center>.

[Cecilia Farell]

| You may also want to take a look at Tony Jebson's HTML 3.0 Test
| Pages at <http://www.to.icl.fi/~aj/test_doc.html>. This will let
| you know what 3.0 features you browser supports.

These pages are great! Thanks for the link. When I tried it, there was
no address record for www.to.icl.fi, however. I used louhi.icl.fi
instead until they get it fixed.

Kjetil T.