• wmease

    (@wmease)


    I would like to place a title of some text in the center of a page (which I know how to do) … and then place several bullets of information under that title but in a left aligned table-like manner.

    I would show an example here but it left justifies everything which is what happens on my web page as well.

    You can go here to see what I would like to do: I would like the text under “In the eCourse you will learn” to be left justified and indented under this title…

    Thanks again in advance for any and all help….

    I am a semi-skilled; non-techie … please be kind with instructions on how to do this ??

Viewing 1 replies (of 1 total)
  • You can do something like this:

    <h2 style="text-align:center">Title</h2>
    <div style="text-align:left;">
    	<ul id="id">
    		<li>List item 1</li>
    		<li>List item 2</li>
    		<li>List item 3</li>
    		<li>List item 4</li>
    	</ul>
    	<p>Some more left aligned text.</p>
    </div>

    If your default text is already aligned left, you can leave out the style="text-align:left;" part.

    If you do this a lot, you can define a css class instead of using inline styles, for example:

    .center { text-align: center; }
    
    <h2 class="center">Title</h2>
Viewing 1 replies (of 1 total)
  • The topic ‘How do I indent a group of text’ is closed to new replies.