Skip to content

Instantly share code, notes, and snippets.

@lukeholder
Created January 21, 2012 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukeholder/1650999 to your computer and use it in GitHub Desktop.
Save lukeholder/1650999 to your computer and use it in GitHub Desktop.
Reset everything for one div
/* selector for element and children */
#parent-element,#parent-element *,#parent-element a:hover,#parent-element a:visited,#parent-element a:active{
background:none;
border:none;
bottom:auto;
clear:none;
cursor:default;
/* didn't really know what the default for display should be*/
/*display:inline;*/
float:none;
font-family:Arial, Helvetica, sans-serif;
font-size:medium;
font-style:normal;
font-weight:normal;
height:auto;
left:auto;
letter-spacing:normal;
line-height:normal;
max-height:none;
max-width:none;
min-height:0;
min-width:0;
overflow:visible;
position:static;
right:auto;
text-align:left;
text-decoration:none;
text-indent:0;
text-transform:none;
top:auto;
visibility:visible;
white-space:normal;
width:auto;
z-index:auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment