The theme I am currently using does not have previous and next post built in so I had to add it using this code:
<p style="text-align: left;"><?php previous_post_link(); ?><p style="text-align: right;"><?php next_post_link(); ?>
It does work but the next post is on the following line right aligned I want them to be be on the same line.
Many thanks
I think this will work:
<div><span style='float: left;<?php previous_post_link(); ?></span><span style='float: right;'><?php next_post_link(); ?></span></div>
You may have to put a div after it to clear the floats.
Ok it doesn't work, it removes the previous post and only displays the next post.
There was a typo in the code above, try this:
<div><span style='float: left;'><?php previous_post_link(); ?></span><span style='float: right;'><?php next_post_link(); ?></span></div>
The first opening span tag wasn't closed
@jlevan, the closing tag is there, but it may not have been copied.
That worked perfectly thanks.