Skip to content

Instantly share code, notes, and snippets.

@ajaydsouza
Last active August 29, 2015 13:56
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 ajaydsouza/9145783 to your computer and use it in GitHub Desktop.
Save ajaydsouza/9145783 to your computer and use it in GitHub Desktop.
CRP - Formatting using PIE
#crp_related ul {
list-style:none;
float:left;
margin:0;
}
#crp_related li,#crp_related a {
float:left;
overflow:hidden;
position:relative;
text-align:center;
}
#crp_related li {
width:110px;
height:165px;
border:1px solid #c2c3c3;
border-radius:15px;
-moz-border-radius:15px;
-webkit-border-radius:15px;
margin:8px!important;
padding:1px;
}
html.lt-ie8 .rond,html.lt-ie9 .rond,html.lt-ie9 img.rond {
behavior:url(/css/PIE.php);
}
#crp_related a {
width:100px;
height:100px;
}
#crp_related img {
max-width:100px;
border-radius:15px;
-moz-border-radius:15px;
-webkit-border-radius:15px;
margin:auto;
padding:5px 0 5px 5px;
}
#crp_related .crp_title {
clear:both;
position:static;
height:inherit;
bottom:6px;
left:6px;
width:96px;
font-size:10px!important;
padding:1px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment