470
edits
No edit summary |
No edit summary |
||
Line 100: | Line 100: | ||
poemElement.text(""); | poemElement.text(""); | ||
// First measure | |||
poemArray.forEach( function(i) { | poemArray.forEach( function(i) { | ||
poemElement.append( '<p style="text-indent: 3em;">' + i + '</p>' ); | poemElement.append( '<p style="text-indent: 3em;">' + i + '</p>' ); | ||
}); | }); | ||
// Second measure | |||
poemElement.children('p').each(function () { | |||
$(this).css('text-indent', '3em'); | |||
}); | |||
} | } | ||
}); | }); |