Click to See Complete Forum and Search --> : Why "text-justify:newspaper" doesn't work in Firefox???


solidcoated
05-15-2008, 02:55 PM
Why the property "text-justify:newspaper" only works in Internet Explorer?

Is there any anyway I could possibly make this work in other browsers?



Thx

jeremu
05-15-2008, 03:02 PM
I didn't even know there was a text-justify.

I think what you want is text-align:justify
http://www.w3.org/TR/CSS21/text.html#alignment-prop

TJ111
05-15-2008, 03:03 PM
I'm not sure exactly what 'text-justify: newspaper' is supposed to do, it's probably an Internet Explorer proprietary CSS property. I think what you want is test-align: justify (http://www.w3schools.com/css/pr_text_text-align.asp).

Edit: Beaten!

felgall
05-15-2008, 03:05 PM
There is no such standard code so it must IE proprietary.

solidcoated
05-15-2008, 03:43 PM
Please, check:

http://www.css3.com/css-text-justify/

Yes it does exist and it works! This property changes automatically the kerning and space between words. Only FireFox ignores this rule, which sucks...

Any ideas of why that happens?

solidcoated
05-15-2008, 04:35 PM
Please check:
http://www.css3.com/css-text-justify/

Yes it does exist!

Since I've heard that it also works properly in Safari and Opera, I was wondering why only FireFox was left out... any ideas?

solidcoated
05-15-2008, 04:39 PM
Please check:
css3 DOT com/css-text-justify

Yes it does exist!

Since I've heard that it also works properly in Safari and Opera, I was wondering why only FireFox was left out... any ideas?

Greyfish
05-15-2008, 04:52 PM
It may exist but I don't think its in use yet... Why don't you just use "text-align: justify"

WebJoel
05-15-2008, 06:18 PM
It is CSS3, so it's not fully supported by all browsers yet. Firefox does use & support some CSS3, like the border-radius for 'image-less rounded corners'<div style=" background-color: #ccc;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #000;
padding: 10px;" > but until braindead IE supports it (and fully yet to understand CSS2!), it is sort-of on the periphery of common useage as IE still holds a commanding share of browser useage.

felgall
05-15-2008, 09:20 PM
Surprising that IE would support something from CSS3 when they are yet to implement everything in CSS2 so it probably started out as IE proprietary and was then added to CSS3.

WebJoel
05-15-2008, 09:31 PM
-Maybe IE isn't so brain-dead after all...

Greyfish
05-15-2008, 11:19 PM
-Maybe IE isn't so brain-dead after all...
After all the sleepless nights IE has given me, I could never agree with that. Haha

felgall
05-16-2008, 05:05 AM
-Maybe IE isn't so brain-dead after all...

Obviously they occasionally have an idea that gets adopted into the standards. They are on the W3C so they do get a say in the standards even though they are way behind in actually implementing those that they didn't think of first (about 10 years or so behind).