box border and top margin only for tables and up