Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- width: 1000px; //The size of the div.
- position: relative;
- left: 50%; // moves the div's left edge to the center
- margin-left: -500px; //Half the size of the div, this moves is back to center the div
Add Comment
Please, Sign In to add comment