Loading ...
Sorry, an error occurred while loading the content.
 

[NH] Re: paragraph formating

Expand Messages
  • Jody
    Hi Tom, Reverse the ^p^p in the replace side to put the at the start of the paragraph. I put mine at the end out of preference.
    Message 1 of 1 , Feb 22, 2000
      Hi Tom,

      Reverse the ^p^p<P> in the replace side to put the <P>
      at the start of the paragraph. I put mine at the end
      out of preference.

      <--- Copy below this line --->
      H=Quick Page
      ; Last Updated 02/22/2000, Sojourner@..., jody
      ; Have text start on line one
      ^!SetScreenUpdate Off
      ; long line
      ;
      ^!Set %PType%=^?{(H=5)Align paragraphs=left|center|right|_justify|None^=0}; %Title%=^?{Add title for page=^%Title%}
      ^!Jump 1
      ^!InsertText ^p^p
      ^!Jump Doc_End
      ^!IfFalse ^$IsEmpty(^$GetLine$)$ Skip_2
      ^!Replace "^p" >> "" SB
      ^!Goto Skip_-2
      ^!InsertText ^p^p
      ^!IfFalse ^%PType% Next else Skip_3
      ^!Replace "^p" >> "<BR>^p" WAS
      ^!Replace "<BR>^p<BR>" >> "^p^p<P>" WAS

      ^!Replace "^p" >> "<BR>^p" WAS
      ^!Replace "<BR>^p<BR>" >> "</P>^p^p<P ALIGN="^%PType%">" WAS

      ^!Set %Body%=^$GetText$
      ^!Toolbar Clear All
      ^!Clip "Preset"
      ^!Jump 1
      ^!Replace "</P>^p^p" >> "" S
      ^!Jump Doc_End
      ^!Replace "<P ALIGN="^%PType%">^P^P</BODY>" >> "</BODY>" SB
      ^!Jump 1


      H=_Preset
      ; Last Updated 02/22/2000, Sojourner@..., jody
      ; Build your page code the way you want it
      <!DOCTYPE HTML PUBLIC HTML 3.2 Final//EN">
      <HEAD>
      <TITLE>
      ^!InsertText ^p^%Title%^p
      </TITLE>
      </HEAD>

      <BODY BGCOLOR="#FFFFFF">

      ^!InsertText ^p^%Body%^p

      </BODY>
      </HTML>
      ^!InsertText ^p

      <--- Copy above this line, right --->
      <--- click over a Library, and --->
      <--- choose "Add from Clipboard" --->

      Happy HTML'n!
      Jody

      http://www.sureword.com/notetab

      The NoteTab and Html List...
      mailto:Ntb-html-Subscribe@...
      mailto:Ntb-html-UnSubscribe@...
    Your message has been successfully submitted and would be delivered to recipients shortly.