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?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
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.
Thread starter Similar threads Forum Replies Date
T Outlook 2013 breaking up some messages into attachments Using Outlook 0
S Outlook name resolver keeps breaking Using Outlook 2
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
L How to remove blank lines, globally, from outgoing e-mail Using Outlook 2
A Certain e-mails received from Verizon Blackberry devices are missing lines Using Outlook 1
K darken inbox grid lines in outlook 2007 Using Outlook 2
E Problem with In bound e-mails. Subject and From lines are blank and messages are either blank or in text that is hard to read. Using Outlook 1
T How can I remove message indent lines? Using Outlook 23
T How can I remove message indent lines? Using Outlook 6
G When printing a copy of an email the printer almost greys out some of the lines. This fault does not occur with any other programme. Using Outlook 2
J Inserting signature includes 2 blank lines below signature Using Outlook 1
B Calendar Printing only prints two lines Using Outlook 3
V I can't type outgoing mssg. in body. Color is blue. I can send and receive only to.. and subject: lines. I receive emails and attachments OK. Using Outlook 1
D Three extra lines at bottom of print in week view Using Outlook 1
S Preventing blank subject lines Using Outlook 5
P Printing issues with Cal. 2007... not show previous month or next month, and show two lines per appt. Using Outlook 1
M Suggested Names do not appear when typing in To, Cc, or Bcc lines. Using Outlook 5
M how do get previously used email addresses to auto-complete within the address lines Using Outlook 4
C Lines at left of e-mail messages Using Outlook 4
M Template modification: >3 lines/day Calendar Printing Assistant 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
U Printing calendar weeks without three lines for tasks under each d Calendar Printing Assistant 2
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
B Rule doesn't work as expected when the mail sent by myself to a group which which i am a member Using Outlook 6
J Error message "The Expected Version of the product was not found on the system". Using Outlook 2
T Outlook 2010 takes much longer than expected to download an e-mail message from a POP3 server Using Outlook 1
A Newly assigned DAG static IP address not working as expected Exchange Server Administration 7
A When installing "Update for Microsoft Outlook Social Connector (KB983403)" the error "The expected v Using Outlook 19
A Expected behauvior when modifying properties? Outlook 2003. Outlook VBA and Custom Forms 3
Similar threads







































Top