Re: Centering and Justifying

by "David Burlingame" <drbexe(at)tampabay.rr.com>

 Date:  Mon, 3 Nov 2003 20:55:00 -0800
 To:  <hwg-basics(at)hwg.org>
 References:  DavidBurlingame MainGateway
  todo: View Thread, Original

Once again, this list comes through!!

Both suggestions (the one below and one from Marten) worked.

Personally, I like this one best.

(I don't know why I didn't think of this setup myself; I sure tried a lot of
combinations, but not this one)

Dave Burlingame
----- Original Message ----- 
From: "Keith D Sellars" <Keith(at)webgraffix.com>
To: "David Burlingame" <drbexe(at)tampabay.rr.com>; <hwg-basics(at)hwg.org>
Sent: Monday, November 03, 2003 5:04 AM
Subject: Re: Centering and Justifying


> How about:
> <.div align="justify"><.table width="80%" align="center"><.tr><td>
>
> HTH,
> Keith D Sellars
> WebGraffix
> www.webgraffix.com
> "Making the Internet Easy"
>
> ----- Original Message ----- 
> From: "David Burlingame" <drbexe(at)tampabay.rr.com>
> To: <hwg-basics(at)hwg.org>
> Sent: Sunday, November 02, 2003 6:54 PM
> Subject: Centering and Justifying
>
>
> > Hi.
> >
> > First of all, I'm a firm believer in validating.
> >
> > That said, I'd like to find a way to have a paragraph that is centered
on
> a
> > page, only takes up about 80% width wise, and the words in the paragraph
> > itself to be "justified".
> >
> > I've tried all the following: (without the dots!)
> >
> > <.div align="center"><.table width="80%"><.tr align="justify"><td>
> >
> > This doesn't work; it centers the table and the words in the paragraph.
> >
> > <.div align="justify"><.table width="80%"><.tr><td>
> >
> > This justifies the paragraph, but it is not centered on the page.
> >
> > <.div align="justify" width="80%"><.table><.tr><td>
> >
> > This doesn't work; I don't think "width" works in the "div" tag.
> >
> > I've tried a few other ways, but I can't make it work.
> >
> > Can anyone tell me how to do this, and still make it w3c valid?
> >
> > Thanks in advance!
> >
> > Dave Burlingame
> > http://www.drbexe.com/

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA