First, use the Styles to format the Heading 1, Heading 2, Heading 3 content. Use it to try out great new products and services nationwide without paying full pricewine, food delivery, clothing and more. He has been writing tech tutorials for over a decade now. The best way to add a proper horizontal rule is to use the Horizontal Line feature found on the Borders drop down menu in the Paragraph section. First of all you need to notice that nested span is a bad practice in your code. Drag it left or right to adjust the length, or drag it up and down to adjust the orientation. Since your parent is a inline element I made the wrappers (children elements) as inline-block elements which gives you the solution. You'll be creating a horizontal line that spans from one edge of your page to the other. In that option, change the color of the bottom border to your specified color. Im trying to but cant figure out. To customize it, click the line, and then in Words ribbon at the top, click the Shape Format tab. Maybe youre creating a document such as a printable form where you want to underline spaces to make a blank line. Clear the Border Lines option. The color you pick in the Fill list fills the rectangular area; the color you select from the Color menu is applied to the rectangular area in a pattern you select from the Style list. HTML DOM reference: textDecorationLine property. Insert any of the images. Your email address will not be published. Microsoft Word offers various line types you can add to your documents, and well show you how to do that. In Apply to, ensure Paragraph is selected. On the Home tab, in the Paragraph group, click the arrow next to the Borders button and select Inside Horizontal Border. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Include your email address to get a message when this question is answered. You have to float: left the div after the p tag. Find a vector in the null space of a large dense matrix, where elements in the matrix are not directly accessible. Go into the AutoFormat Options (under Proofing on a PC or AutoFormat on a Mac) and check off all the options that allow Word to replace text with symbols. Type the following characters and then press Enter or Return to insert lines: To remove these lines, select the paragraph with the line, click the Borders button on the Home tab and select No Border. Select the line you want to use. The open-source game engine youve been waiting for: Godot (Ep. A drop-down menu appears. I came here because I wanted to insert a horizontal line in the middle of a table cell, and the two ways I knew how to do this created a horizontal line that had way too much blank space above and below it. All other trademarks are the property of the registered owners. In this article, we'll focus on inserting lines using borders attached to paragraphs. Since different applications and WYSIWYG-editors use all sorts of different markup and custom formatting, the HTML stripper function might not be 100% . Thank you very much Alicia! How do I style a