set padding-top for main div
build show message function