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:
topcorner
Try css:
.topcorner{ position:absolute; top:10px; right: 10px; }
you can play with the top and right properties.
top
right
If you want to float the div even when you scroll down, just change position:absolute; to position:fixed;.
div
position:absolute;
position:fixed;
Hope it helps.