Skip to content

Instantly share code, notes, and snippets.

@whistler
Created August 17, 2012 20:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whistler/3382176 to your computer and use it in GitHub Desktop.
Save whistler/3382176 to your computer and use it in GitHub Desktop.
Make sure child div stays inside parent div
.parent
{
position: relative;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment