about 11 years ago
If you want to make the absolute position of the block in center from all the sides with respect to parent block using css only.
<style> .base{ width:900px; height:500px; position:relative;background:#dddddd} .top{ width:100px; height:100px; position:absolute;top:0px; left:0px; right:0px; bottom:0px; margin:auto;background:#bdbc9d} </style> <div class="base"> <div class="top"></div> </div>
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)