Link to home
Create AccountLog in
Avatar of enigma1234567890
enigma1234567890Flag for Ireland

asked on

vertical scroll bar in ul HTML

how do i ad a vertical scroll bar to html ul li
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Actually, you don't need the <div>.
<ul style="width:400px;height:200px;overflow: scroll;">
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
<li>This is the li....</li>
</ul>

Open in new window

Avatar of enigma1234567890

ASKER

how do i get the scroll bar on left not right
I have never seen a scroll bar on the left.  Every browser and operating system that I have ever used puts the vertical scroll bar on the right.