I have div( div1), which has its position, width, height, everything that is installed and it is installed from the outside, so I can’t know in advance what these values are.
Inside and at the top div1is another div( div2). I want to div2swim to the right of div1without affecting the following information in div1.
I can add an attribute position:absoluteand get div2to float and not affect the contents, however I cannot make it float to the right, even when applied float:right.
source
share