overflow auto display scroll bar not necessary code example Example: hide scroll bar when not needed overflow: auto;