css - make only part of an image clickable and visible? -
im placing pennant on webpage , want pennant shape clickable. giving me real headache because image's complete dimensions 320x182. not want complete rectangle clickable.
my second problem getting pennant appear on page. now, looks white rectangle blue pennant inside of it.
<a href="http://www.cdm.depaul.edu/pages/default.aspx"><img alt="depaul" class="transparent" src="/_images/depaul_pennant.jpg" width="" /></a> .transparent { background: transparent; background-color: transparent; }
any advise appreciated.
fyi im using bootstrap 3.
something this?
http://jsfiddle.net/cancerian73/jzpqs/2/
.box1 { width:398px; height:287px; }
this looking at?
Comments
Post a Comment