I'm getting centered text ( in IE) whenever I use this tag property to align my text. for other browsers it works fine...
use text-align: justify;Originally Posted by hpnadig
show me how youre using it
it works for me.
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
well ive never heard of subclasses, im fairly new to css myself
i would have just done it simply like
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...
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.
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
inline for a quick fix