hrm.. why the hardwired inline style..
<img style="display: block; margin-top: 5px;"...
before every image, including smileys?
that is the cause of the display behavior... 'display:block' to be precise.
as to why it's inserted into your html at render time... i can look closer..
/me grabs magnifying glass
what version of ubbt are you running? has it been modified in anyway ?
just trying to get to more detail...
i'm suspecting your do_markup() routine in ubbthreads.inc.php has been modified to slam that in for every img or image or %%GRAEMLIN%%, but i don't know for sure. the tpl's can be ruled out (imho)
the normal way a graemlin or img gets converted to html is like:
<img src="/forums/images/graemlins/default_dark/laugh.gif"..
no inline display:block added... something must be different from the normal install... or i'm missing something.