This question has been flagged
1 Reply
6071 Views

Hi !

Currently I'm toying with the rml language, and so far, the only way to align a blockTable when I use colWidths, (colWidths resize the columns, and let the table centred in the middle of the page...) is by add an empty column (left for right align, for example).

Do anyone know a better way to do this ?

Thanks

Avatar
Discard
Best Answer

Simply use the alignment attribute in your blockTable or its blockTableStyle.

<blockTable alignment="RIGHT">
</blockTable>

<blockTableStyle id="aligned_table">
    <alignment>RIGHT</alignment>
</blockTableStyle>

Regards

Avatar
Discard
Author

I don't want to align the content, but the table itself.

As far as I can see, the attribute for content alignment is <blockAlignment>.

<alignment> should align the floatable.

As work around try to embed your table in an aligned paragraph, or sth.

Author

Yeah, it should, but it doesn't :/ Either with your both examples, it doesn't work with me. Ok, I will try this.

Author

Nope, nothing's working. A para tag display table like plain text. And other tags display nothing at all. I think I'll have to stay with empty columns.

Yes, that would have been my next suggestion :/

Sorry.

Author

Np, thanks anyway :)