Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

position div in bootstrap

Wondering why it is so difficult to position divs to remain responsive.. they just float where ever they want for some reason.. how can I position these perfectly? Holding their positions while resizing like my social icons http://www.closetvip.com/splash.html

/* Menu Buttons */
#english {
    float:right;
    position:absolute;
    right:570px;
    bottom:101px;
    clear:right;

}
#spanish {
    position:absolute;
    left:570px;
    bottom:100px;
    clear:right;

}


<div id="spanish">
    <img src="img/espanol.png">
</div>
<div id="english">
    <img src="img/english.png">
</div>
like image 668
user1822748 Avatar asked May 14 '26 07:05

user1822748


1 Answers

You need to use position: relative; on the parent div of absolute div's otherwise the items are absolute of the window