Grail Test Page: Alignment Attributes


This page is a test of the ALIGN attribute for DIV and P tags. The results are not currently expected to be correct on complex pages. In fact, I expect them to be a real mess at the moment. Markup representations are placed immediately following the actual markup in the first section; in the second section the text describes the expectations.

The ALIGN Attribute on Several Elements

<DIV ALIGN=right>

<P>This is a short paragraph.
<BR> It has two lines.

<P ALIGN=left>This paragraph should be on the left. The fact that we can't generalize alignment to simply having three tags with their 'justify' flags set in the Tk text widget, we know we really need to support alignment a little more fundamentally in the writer. This does not appear to be hard to do.


<HR WIDTH="20%"> The alignment of this HR indicates the same thing.

<P>This one should be back on the right due to the <DIV ALIGN=right> earlier.

</DIV>

Handling of Alignment & The Right Margin

This portion of the test is primarily intended to check the handling of center and right alignment with varying left and right margins in the PostScript® output.

This paragraph should be centered. There is only enough here to get a few lines of text, which is helpful in getting enough conditions present in the text to actually check the alignment handling. There is no markup within the paragraph since it has the potential to confuse the interactions among various aspects of the output engine.

This paragraph should be aligned on the right margin. There is only enough here to get a few lines of text, which is helpful in getting enough conditions present in the text to actually check the alignment handling. There is no markup within the paragraph since it has the potential to confuse the interactions among various aspects of the output engine.


This is inside a BLOCKQUOTE. This paragraph should be centered. There is only enough here to get a few lines of text, which is helpful in getting enough conditions present in the text to actually check the alignment handling. There is no markup within the paragraph since it has the potential to confuse the interactions among various aspects of the output engine.
This is inside two BLOCKQUOTE elements. This paragraph should be right aligned. There is only enough here to get a few lines of text, which is helpful in getting enough conditions present in the text to actually check the alignment handling. There is no markup within the paragraph since it has the potential to confuse the interactions among various aspects of the output engine.