Added systematic margin and padding spliting feature to ease the styles merging process