SharePoint Borders


  • Hi,

    I have been using SharePoint for Office365 to build a communications site.

    I would like to know how to add a border around lines of text to separate them from the rest of the page.


    Thursday, December 7, 2017 7:00 AM

All replies

  • Hi thomas15992,

    There are two methods to add a border around web parts, but both of methods only work in Classic mode.

    The web parts on the Modern page are different with web parts on Classic page.

    On modern page, we can use the Text web part add paragraphs to your page. Only standard formatting options are allowed in the Text web part. There is no method to add a border around the text. And currently, the web parts on the modern page do not support to enable border.

    However, SharePoint Online provides a Divider web part for modern page. You can add a line between other web parts to help divide up your page and make it easier to read.

    Another workaround, you can enter a text and add border for the text in the Word or other tool and take a screenshot for it, store it as an image to SharePoint Online. Display it using the Image web part.

    The Modern experience is a new feature in SharePoint Online and Microsoft is constantly improving it. You can submit a feedback to the SharePoint User Voice: We’re eager to hear your feedback and use it to continuously provide the best intranet in your pocket.

    Best Regards,

    Linda Zhang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Friday, December 8, 2017 3:00 AM
  • Hi Thomas- how about adding a table and put the text in it? Otherwise use CSS to add a border.

    cameron rautmann

    Friday, December 8, 2017 4:49 PM