Topic on Extension talk:Poem

Extending the poem's style parameters

2
Ineuw (talkcontribs)

Through trial and error, I discovered that the poem tag accepts the following style parameters:

display:table;

line-height:

font-size:

margin-left:

margin-right:

width:

However, it would be most helpful if it would include (if possible), the logical parameter of 'padding' and 'text-indent.' ~~~~

Alex brollo (talkcontribs)

Try to pass simply a style. I'm using this trick into mul.source, coupled with S:mul:Template:AbsLeft. here a test code (test it into a wikisource sandbox):

<poem style="position:relative; padding-left:4em; border:1px red dotted; width:15em">

one

two

three

</poem>

Alex brollo (talk) 07:37, 16 February 2016 (UTC)