HTML CSS examples for CSS:Quiz
Position the <div> element all the way to the right using absolute positioning.
<!DOCTYPE html> <html> <head> <style> div {<!--from www . j a va 2s . c om--> position: absolute; right: 0px; width: 300px; background-color: #EEEEEE; } </style> </head> <body> <div> <p>This is a test. This is a test. This is a test.</p> <p>This is a test. This is a test. This is a test.</p> </div> </body> </html>