Jump to content

Line Spacing


p.kennedy

Recommended Posts

I am trying to come up with some javascript for a multiline text field that when someone hits a hard return it will insert a paragraph break, creating a 18pt blank line between paragraphs while the paragraphs themselves remain a constant 10pt font size. any code suggestions would be much appreciated!
Link to comment
Share on other sites

I am trying to come up with some javascript for a multiline text field that when someone hits a hard return it will insert a paragraph break, creating a 18pt blank line between paragraphs while the paragraphs themselves remain a constant 10pt font size. any code suggestions would be much appreciated!

I would just go into the Paragraph Settings dialog and set the Space Above setting to 8 points. I don't think you need any JavaScript, assuming that whatever application that hosts the multi-line text field outputs a <p> tag when the user types a hard return.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...