matta Posted March 23 Share Posted March 23 In a text rule, what is the appropriate way to move a font off of the baseline vertically? I need to center a Winging font "bullet" to be centered ahead of a paragraph. Quote Link to comment Share on other sites More sharing options...
Douglas Cogan Posted March 23 Share Posted March 23 Hi, you can move a character up with the superscript tag. You could make a JS rule called bullet like this: return "<span><superscript><f name=wingdings>�</span>"; // replace 000 with the character number you want The span tag saves the current font and point size (and superscript) and /span restores them back. You can also control how much the superscript tag moves text up by accessing the global settings (from the paragraph options dialog from the variable text editor.) Quote Link to comment Share on other sites More sharing options...
matta Posted March 23 Author Share Posted March 23 Thank you very much! This was extremely helpful! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.