Menu
×
×
Correct!
Exercise:Add a scrollbar to the <div> element. Hint: Use the overflow property. |
Edit This Code:
x
<html> <head> <style> div { background-color: #eee; width: 200px; height: 70px; border: 1px dotted black; } </style> </head> <body> <div> <p>In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.</p> <p>'Whenever you feel like criticizing anyone,' he told me, 'just remember that all the people in this world haven't had the advantages that you've had.'</p> </div> </body> <!-- Mirrored from www.w3schools.com/css/exercise.asp?filename=exercise_overflow1 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:17:00 GMT --> </html> Result:
|
Correct Code:
xxxxxxxxxx Result:
|