Jump to content
Killersites Community
Sign in to follow this  
daddyalfie

Spaces On A Text Line

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

 

 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×