html - css absolute position with margin auto - Stack Overflow

/ Published in: CSS
Save to your folder(s)

absolute positioned element with margin auto

Copy this code and paste it in your HTML
  1. .divtagABS{
  2. width:300px;
  3. positon:absolute;
  4. left:0;
  5. right:0;
  6. margin:0 auto;
  7. }


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.