Closed (won't fix)
Project:
Fusion
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2011 at 17:40 UTC
Updated:
21 Nov 2011 at 20:21 UTC
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
Comment #1
marko b commentedOr display:inline; if you want to have less problems with some other elements.
Comment #2
sheena_d commented<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.