Issue
How do you float a div to the top right hand corner of a page using css? I want to float the topcorner
div which is below:
<p><a href="login.php">Log in</a></p>
<div class="topcorner"><a href="home.php">Back to Home</a></div>
"Log in" goes in the left hand corner which it does at moment, but I want "Back to Home" to be placed in the other corner.
Solution
the style is:
<style type="text/css">
.topcorner{
position:absolute;
top:0;
right:0;
}
</style>
hope it will work. Thanks
Answered By - Shah Rukh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.