Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
ruchir123 #1
align = 'justify' does not work
Hello,
I want to display paragraph contents on a webpage with a "justify" alignment.
So, I have created a text control in mxml but dicovered that the textAlign
property only supports three values - 'right','left' and 'center' :(
To workaround this problem, I used htmlText property with html tag align =
'justify' in my mxml script.. As shown below.
textField.htmlText = "<p align='justify''> Headquatered in
London..............</p>";
This does not work. I also tried as shown below
textField.htmlText = "<p align=\"justify\"> Headquatered in London.......</p>";
Unfortunately this does not work either.
However, If I pass any other value other than 'justify'(Right,Left,Center) it
works. This means that even html formatting for suported tags in mxml does not
work and I think this is a bug becuase <p> and <align> html tags are supported
in mxml.
Is there any way to get this done in mxml? I need to have a 'justify'
alignment for all my contents of the webpage and other options are not
acceptable at all. PLEASE HELP!!
Other alignments such as 'right', 'left' and 'center' would make webpage
contents ugly and not acceptable at al;l.
Thanks,
Ruchir
ruchir123 Guest
-
PLEASE HELP!! align "justify" issue
Hello, I want to display paragraph contents on a webpage with a "justify" alignment. So, I have created a text control in mxml but dicovered that... -
Text align as Justify looking weird
Hi all, I noticed that when I give the text-align style as "justify", the words are unevenly spaced to justify the alignment. But it looks really... -
Justify Text
Is there anyway to format text (specifically justify bulleted lists) using version 10? -
Why won't align layers work in action?
I'm trying to create an action for watermarking many many files. The difficulty is that each file is different in size so I want the watermark text... -
how to Align text left & vertical align middle
Hello, I have a asp lable control, which I use to display text in, I would like to have the text display aligned in the center and vertical...



Reply With Quote

