Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> div{ height:150px; width:100%; background-color: #ccc; color: #ffffff; } img { position: absolute; right: 30%; top:120px; } </style> </head> <body> <h2>Пример свойства right</h2> <img src="/uploads/media/default/0001/01/0710cad7a1017902166203def268a0df2a5fd545.png" alt="W3docs logo" width="146" height="41"> <div>div элемент.</div> </body> </html>