Skip to content

Instantly share code, notes, and snippets.

@johnw86
Created June 27, 2012 13:12
Show Gist options
  • Save johnw86/3003987 to your computer and use it in GitHub Desktop.
Save johnw86/3003987 to your computer and use it in GitHub Desktop.
Fixes for IE issues
:after in IE7
#content blockquote:after,
#content blockquote .after {
background:url('/images/background/_sprite.png');
background-position:-259px -66px;
bottom:26px;
content:'';
display:block;
height:14px;
right:0;
position:absolute;
width:20px;
}
if ($('html').hasClass('ie7') && $('#content blockquote').length) {
$('#content blockquote').append($('<span/>').addClass('after'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment