

This is the price card and I added a small text after the main text so the span is smaller than the main text and it needs to fit at the center. Save your file and reload it in the browser.

The result is big gaps between the words. Before we dive into the code, let’s look at the difference between aligned and floated images. As mentioned, How do I center the span wrt the main text Its placed at the center so if I can place it at the exactly the center. Only copy and add the highlighted text-align attribute as other parts of this HTML code will not be specific to your project. Justifying text especially on the web means spreading out the words on the line to span the whole column. Select the Use Microsoft Word to edit e-mail messages check box. The text-justify property in CSS is a companion to the text-align property that is used to set the justification method of text when text-align is set to the justify value. In this article, we’ll show you how to use HTML to align images to text (or other page elements) and how to use CSS to float images, wrapping text around it as you’d see in a newspaper or magazine. From the main Microsoft Outlook window, click the Tools menu, click Options, and then click the Mail Format tab.
