

#Word add box around text code#
#FFFFFF = is the HEX color code for White.#000000 = is the HEX color code for Black.padding: 10px = is the space between your text and the edge of your box.color: #FFFFFF = is the text color of your box.background-color: #000000 = is the background color of your box.To break out the code, so you understand what it means: THIS IS THE BOX FOR YOUR TEXT. Pretty easy, huh? Code Breakout So You Understand
#Word add box around text how to#
To view your content as a web page, preview or publish the page to see what it really looks like on your site.Īnd that is how to create a content box in html. In the example above, I changed the text to be relevant to my post I also used Bold white text to make it stand out in the black box. Text changes are easier to do in the Visual editor. You do not need to be in Text editor to change the text. Just replace all of the text inside the box with whatever you want to say. You will now see the black box within your text.


To confirm the box is there, click on the Visual Editor tab. You just added a black box with white text to your content. Wherever you to create a box around text, copy and paste this code below within Text Editor view. For text in a text box, the command is found in the "Format" command on the ribbon (remember to click the text box to get the "Format" tab) - also a glowing letter A.Step 2 - How To Create A Box Around Text in HTML For regular Word text, the command is found in the "Home" tab on the ribbon, in the font section - it is a blue glowing letter A. Select "Text Wrap." A number of option will appear in the sub-menu hover over these to see how each changes the position of the text box - select the one you want.Ĭheck Out Text Effects: "Text Effects" is a menu command that can be used to give any text some of the wacky effects found in Word Art. To change that interaction, click on the text box and then click the "Format" tab on the ribbon. Text Box Insert Shortcut: Here's a tip - if you want to turn text that is already typed on a page into a text box: first highlight the existing text and then "Cut" it then go to "Insert" "Text Box" and choose any pre-formatted text box the selected text box will be placed in your document with the text highlighted now click "Paste" and the text you cut will replace the default text.įloating A Text Box: How a text box interacts with other elements on a page will depend on the settings you choose. In this screen shot sample, an annotated map, using text boxes and shapes (lines), share the page with regular Word text.
