My opionis is that Fusion should have by default set img tag to be display:block, undefined makes problems with vertical aligning.

img{
	display:block;
}

Comments

marko b’s picture

Or display:inline; if you want to have less problems with some other elements.

sheena_d’s picture

Category: bug » feature
Status: Active » Closed (won't fix)

<img> is an inline element as defined by the W3C (http://www.w3.org/MarkUp/html3/img.html). It doesn't make any sense to add code to our base theme to override the default/expected behavior of a basic HTML element.

The vertical spacing issue you are experiencing is most likely related to line height being applied to the <img>, since it is an inline element. For your particular application, you may need to display the image as a block element, but that does not warrant overriding the functionality of a basic element from within the base theme.