By Using Javascript

We can also use JavaScript for hiding scrollbars in popular browsers like Chrome, Firefox, Opera, Internet Explorer etc. We will use parent and child objects to set their width and height to same values.