Jump to content

Spaces On A Text Line


daddyalfie

Recommended Posts

Long time no see!

 

I have an easy one, (I think!)

 

In this little poem (prayer) I want to have the words "Childrens Prayer" to appear on the same line as the bottom line but with considerable space added.

 

<p>Thank you Lord for the world so sweet,<br>
Thank you for the food we eat.<br>
Thank you for the birds that sing,<br>
Thank you, God, for everything.</p>                         Children’s Prayer

 

Any suggestions?

 

Alfie

 

 

Link to comment
Share on other sites

You could do it dirty and use a lot of blank spaces using ASCii code.

 

But the best way would be wrap the "children's Parayer" in a Span tag, and give the span tag a left margin, that should do it.

<p>Thank you Lord for the world so sweet,<br>
Thank you for the food we eat.<br>
Thank you for the birds that sing,<br>
Thank you, God, for everything.<span margin-left: 20em>Children’s Prayer</span></p> 

You just need to figure out what distance and what form it takes, em, % pixels, inches. I think I got the coding right but it has been a long time, so if it does not work just look up the correct format for inline margins, but I think that is right.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...