You have a style in your style.css file:
Code:
p img {
padding: 0;
max-width: 100%;
}
Since the image and its span and link are inside a paragraph (<p>) element, the above style applies. The padding is overidden, but the max-width is not, by this style on the page:
Code:
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
The net effect of that is limiting the width of the image to, presumably the width of its parent element. As, the parent is a span and/or an anchor link (to have real layout width it should be a block level element, or at least not absolutely positioned and hidden, as is the span element), various browsers will interpret this differently, but typically from 0 to 100% of the offsetWidth (the length of the word Goliath in this case).
You can either remove the max-width style from the p img selector, or override it here, like so:
Code:
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
max-width:none;
}
Tested only in FF.
Bookmarks