Comment

How Reddit Became a Worse Black Hole of Violent Racism Than Stormfront

7
CuriousLurker3/10/2015 7:25:01 pm PDT

re: #3 Great White Snark

My code skill sucks. Acenter did not work. Weird.


At the risk of getting technical:
The span holding the image is inside a paragraph which has left-aligned text. Because a span is an inline element, unlike a paragraph or div, it is by default displayed inline, so it’s moving to the next place it can fit under the first pic), but aligned to the left like its parent element, which is dictating its style.

Shorter version: Next time try adding display:block; to the style attribute of the span holding the image. That will force it to display on a new line (as if it is now a parent in it’s own right with it’s own style). Conversely, you could also force a block level element to display inline.

Working example using Firebug to edit the CSS