Fixed layout problems and added doctype