Arranging <p> tag using css

I am using WordPress and ran into an issue where the captcha is being positioned below the login button and kind of out of sight.

This is my code I want to move the bottom p tag to the top using css.

<div>
    <p>login button</p>
    <p>forget password link</p>
    <p>register link</p>
    <p>captcha button<p>
</div>

Related posts

Leave a Reply

1 comment

  1. We probably need a lot more information about the layout to help out, but assuming you can’t change the HTML at all, what you can do is make the container <div> position: relative and use position: absolute; bottom: 100% on the captcha element to have it appear at the top.

    http://jsfiddle.net/L5vER/