ASKER
<img ... ><span>. ..</span
Or even
<img ...><
span>...</span>
Personally I prefer display: block
Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.
TRUSTED BY
ASKER
I had read this hack to get rid of white space between inline-block elements
font-size: 0; /* hack to prevent white space between inline-block divs. */
but this obviously didn't work here.