enable img's style attribute

for floats and paddings.