Menu
×
×
Correct!
Exercise:Position the <div> element all the way to the right using absolute positioning. Hint: Use the position and right properties. |
Edit This Code:
x
<html> <head> <style> div { width: 300px; background-color: #b0e0e6; } </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_align2 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:17:03 GMT --> </html> Result:
|
Correct Code:
xxxxxxxxxx Result:
|