Everyone's a comedian today. :P

T'was purely an aesthetic venture for a client and one which I'll now gladly
leave behind. They're getting <pre> tags and they're just going to have to
live with it. :)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Herrod, Lisa
Sent: Thursday, 15 December 2005 2:59 PM
To: 'wsg@webstandardsgroup.org '
Subject: RE: [WSG] Justify this

Justified text really isn't a good idea in terms of usability/readability. 

Maybe there was a conscious effort not to support it :)

 

-----Original Message-----
From: Paul Noone
To: wsg@webstandardsgroup.org
Sent: 15/12/05 14:49
Subject: RE: [WSG] Justify this

Hi Lachlan,

Thanks for that but I was actually wanting to center align justified text
for a particular purpose. Evidently my experiment is invalid.

Thanks anyway.

--
Paul A Noone
Webmaster, ASHM
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Lachlan Hunt
Sent: Thursday, 15 December 2005 2:35 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Justify this

Paul Noone wrote:
> Hopefully a quick question, I hoope, as the W3C specs are no help on 
> this one.

No, they are usually always helpful but you need to know what you're looking
for.

> I want to centre align text and justify it at the same time. I've 
> applied the following mark-up which, surprisingly, does the trick. But

> can justify be applied as an optional extra parameter, or does this 
> just work through browser quirks?
> 
> text-align: center justify;

If that does anything at all, it's a browser bug.  That property should be
ignored by a conforming browser.  Centred and justified text are mutually
exclusive options and it makes little sense to combine them like that.
However, I'm going to assume you're looking for a way to centre the box, but
have the text justified within.  In which case, this should do the
trick:

p { width: 50%; margin: 0 auto; text-align: justify; }

Just use an appropriate selector and width for your needs.

--
Lachlan Hunt
http://lachy.id.au/

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to