Home
Analytics
XML tag for paragraph alignment
HSMorales
I have a table binded to a dataset. In the detail section I have a text box. Inside the text box I have HTML text that has a paragraph. I have a <p> tag at the begining with <BR> at the end of each line of text and a </p> at the end of the paragraph. I would like the paragraph to be lined up on both the Right and Left sides.
I added align="justify" to the <p> tag both with quotes and without quotes but can't seem to get it to work.
I am running version 3.7.0 and have windows7 with IE. Am I doing this correctly or is my syntax incorrect?
Any help would be appreciated. Thanks
Find more posts tagged with
Comments
Tubal
This seemed to work for me:
<p style="text-align: justify">This is a test I'm testing<br>and it seems to be working for me</p>
Keep in mind that it will only justify if the line is longer than the space given, and the last part of the line will be left justified.
For example, I had this in a 2" grid, 10 point font.
The first line "This is a test I'm testing" wasn't justified because it ended before it ran out of room.
The second line "and it seems to be working for me" was split into two lines. "and it seems to be working" was justified, and "for me" was not.
Hope this helps.
HSMorales
Thanks. That is exactly what I needed.