by
413 10
1
4
3,457
6
Top 1% !
Popular
Famous
Specified
Popularity: 4038th place

Published on:

No tags for this snippet yet.
LanguageCSS
LicenseMIT_X11
SourceGitHub

Center absolute div

Center absolute div: 
centerDiv.css
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/336924/Center-absolute-div?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
#content{ position:absolute; left:0; right:0; margin-left:auto; margin-right:auto; }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus