css - Error wrapping an image in an <a> tag for lightbox -


i'm running wordpress site has thumbnail gallery feature. each thumb inside <a> tag full image pops in lightbox. problem that, reason, zone behind image , 16px high (the thumb 96 x 96). can't see in css causing this.

an example of can seen here

<a rev="http://www.pinksandgreen.co.uk/wp-content/uploads/2010/09/walde-xc14_1-200x200.png" class="wpscimg" rel="lightbox funky paper mache deer heads" href="http://www.pinksandgreen.co.uk/wp-content/uploads/2010/09/walde-xc14_1.png">     <img width="96" height="96" src="http://www.pinksandgreen.co.uk/wp-content/uploads/2010/09/walde-xc14_1-96x96.png" class="attachment-gold-thumbnails" alt="walde-xc14_1"> </a>     

i can't seem alter height of through html or css , it's driving me mad!

yeah, kind of. can click whole image, right?

it's because anchor inline element. if want wide/high image (the reason why that's totally necessary when want give styling a) let (inline-)block:

a.thumbnail-a { display: inline-block; } /** or **/ a.thumbnail-a { display: block; } 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -