I need the div to appear in the exact lower right corner of the user's screen. This means that the user has a 20-inch monitor or 50 inches, the div should always be shown in the farthest lower right corner. Therefore, the positioning cannot be fixed.
I tried this and could not:
<style>
.floatBox { border: 1px solid red; width: 300px; height: 100px; position: absolute; float: right; margin-top: 100%; }
</style>
<div class="floatBox"></div>
I have a feeling that this can only be done using javascript (jQuery), in any case, does anyone have a solution?
source
share