Added important declarations to overwrite floated images.#2820