added padding css like functionality