update margins, add iframe base style, add image styles