Breaking lines, expected end of statement

Status
Not open for further replies.

molonlabe

Member
Outlook version
Outlook 2016 32 bit
Email Account
IMAP
strBody = "<p style='font-family:calibri;font-size:14.5'><br><br><br><br>paragraph goes here. Next paragraph goes here</p>"

I want to break and have a new paragraph before "Next" and I want to break that code so it splits into two lines. How do I do that?
 
strBody = "<p style='font-family:calibri;font-size:14.5'><br><br><br><br>paragraph goes here. Next paragraph goes here</p>"
With html, you need to use <p> or two <br>.

I would do it this way, repeating the<p> block if you need more space (or use style='margin-top:30px;' in the <p> - you can try padding-top:30px; too.) -
<p>&nbsp;</p><p style='font-family:calibri;font-size:14.5'>paragraph goes here. </p><p style='font-family:calibri;font-size:14.5'>Next paragraph goes here</p>"
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
T Outlook 2013 breaking up some messages into attachments Using Outlook 0
S Outlook name resolver keeps breaking Using Outlook 2
O Outlook tasks - Add text column with multiple lines Using Outlook 3
C Delete lines in Outlook Outlook VBA and Custom Forms 4
N Grid Lines Not Displaying - Outlook 2013 Using Outlook 3
J How to get "new lines" (line breaks) in posts here Using Outlook 11
L Caption Lines Using Outlook 1
S renaming several subject lines at one time Using Outlook 1
P Batch adding text to email subject lines in Outlook Using Outlook 24
M lines and dots in list pane Exchange Server Administration 1
T How can I remove message indent lines? Using Outlook 23
M Template modification: >3 lines/day Using Outlook 1
E How do I import two lines in the address for Outlook? BCM (Business Contact Manager) 1
R How to create button in multiple lines? Outlook VBA and Custom Forms 11
Commodore iTunes sync on a new computer - any issues to be expected? Using Outlook 9
M Expected behaviour of recurring appointments? Using Outlook 2
J Calendar Search by Category not showing expected results Using Outlook 7
V Sharing Hotmail contacts / groups not working as expected Using Outlook.com accounts in Outlook 1
R Meeting requests and appointments not working as expected Using Outlook 2
A Expected behauvior when modifying properties? Outlook 2003. Outlook VBA and Custom Forms 3

Similar threads

Back
Top