fixing spacing and adding bg image attrib