/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.share ul{ display:table; *display:inline-block; _display:inline-block; margin:20px auto 20px; } .share li{ display:table-cell; *display:inline; _display:inline; position:relative; background: #B4EBA2; /* old browsers */ background: -moz-linear-gradient(top, #B4EBA2 0%, #8CCB79 100%); /* firefox */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#B4EBA2), color-stop(100%,#8CCB79)); /* webkit */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B4EBA2', endColorstr='#8CCB79',GradientType=0 ); /* ie */ padding:23px 22px 21px 21px; } .share ul li{ display:block; } .share ul li a{ *display:inline; _display:block; }
Comments
