Say I have a text with a link (more)... at the end of each paragraph. As a result, it looks something like this:
This is just a test paragraph. Click on the more link for more info. (more...)
Now I would like to add a space between the link and the paragraph text, so I move the link to the <span> and push it to the right with margin-left: 10px :
This is just a test paragraph. Click on the more link for more info. (more...)
The problem here is that if the text is wrapped correctly, especially since it appears on the second line by itself, it will look like an indent:
This is just a test paragraph. Click on the more link for more info. Push it down! (more...)
When the required output should be:
This is just a test paragraph. Click on the more link for more info. Push it down! (more...)
Is it possible to achieve this effect using either Javascript or CSS?
Note: This effect can be achieved by removing the <span> and using the   characters to direct more links to the right with proper text wrapping, but I would like to avoid this if there is no other choice. Or I could use Javascript to insert   up to a range, but this is not a good solution.
source share