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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...