I'm getting centered text ( in IE) whenever I use this tag property to align my text. for other browsers it works fine...
| SitePoint Sponsor |

I'm getting centered text ( in IE) whenever I use this tag property to align my text. for other browsers it works fine...
Home Page| Blog | Gallery
sys op & contributor @ kn wikipedia
Still stuck with a stinky browser? Go get FireFox
use text-align: justify;Originally Posted by hpnadig
via css

didn't work.
Home Page| Blog | Gallery
sys op & contributor @ kn wikipedia
Still stuck with a stinky browser? Go get FireFox
show me how youre using it
it works for me.

td.con { text-align:justify; }
Home Page| Blog | Gallery
sys op & contributor @ kn wikipedia
Still stuck with a stinky browser? Go get FireFox
whats that .con? i dont get why youre putting thta there.. unless its a separate class and you want the attribute to be applied to that as well? put a space between td and .con.. or maybe try a comma separating the two, i forgot which works

con is a subclass ( or the one which comes under the general group of td in the heirarchy[correct me if I'm wrong here![]()
Home Page| Blog | Gallery
sys op & contributor @ kn wikipedia
Still stuck with a stinky browser? Go get FireFox
well ive never heard of subclasses, im fairly new to css myself
i would have just done it simply like
#text {
text-align: justify;
}
and then in body somewhere
<p id="text">your text here</p>
His CSS is correct. Are you using a WYSIWYG editor for the rest of the page?

no.Originally Posted by DJ P@CkMaN
actually the css looks messed up 'cos I never tried to optimise it. whenever I needed new propertie and couldn't find one alreay defined, chances are that I've defined one again and used it...
need a bit of time to trim my stylesheet..looking forward to doing that on next weekend.
But that's somthing out of topic.. I first saw justify being used in Dreamweaver.. ( this was years back) and used it in my old page. Now, I no longer use dreamwever and had completely forgotten about the property. recently, I found out while brwosing my site on IE ( I hardly use IE) that a few pages had awful text alignments! and those were 'cos I had used 'justify' for alignment...
for Netscape and Opera and Firbird, it works fine...
Home Page| Blog | Gallery
sys op & contributor @ kn wikipedia
Still stuck with a stinky browser? Go get FireFox
Which version of IE?
Who walks the stairs without a care
It shoots so high in the sky.
Bounce up and down just like a clown.
Everyone knows its Slinky.





At last, somebody has asked this questionOriginally Posted by Jeff Lange
![]()


Since 'text-align' inherits, all block-level elements with "JUSTIFY" value inside the 'DIV' or 'P' or 'BODY' element with 'CLASS=center' will be centered. Note that alignments are relative to the width of the element, not the canvas.Originally Posted by hpnadig
- Experienced WordPress Consultant.
- Get website design done by Anblik Web Design Company.
- Collection of Top Free Online Website Builder.
- Collection of Free Online Website Usability Testing Tools.

IE 6.0 with SP1Originally Posted by Jeff Lange
Home Page| Blog | Gallery
sys op & contributor @ kn wikipedia
Still stuck with a stinky browser? Go get FireFox





inline for a quick fix
....<td style="text-align:justify;">blah</td>....
Bookmarks