Skip to content

Truly independent web browser

468 B
Raw Blame
<!DOCTYPE html>
<style>
    #wrapper {
        position: relative;
        width: 400px;
        height: 200px;
    }
    #float {
        float: left;
        width: 100px;
        height: 200px;
        background: blue;
    }
    #abspos {
        display: inline-block;
        position: absolute;
        width: 50px;
        height: 50px;
        background: green;
    }
</style>
<div id="wrapper">
    <div id="float"></div>
    <div id="abspos"></div>
</div>