0
An object by default is aligned to the left of the screen. I would like to know how to line an image on the right of the screen, so that when I change the size of the window the image remains "leaned" on the right corner of the screen, without being cropped, follows below my progress with the code, the emoji is to the right of the screen, but when I decrease the width of the browser window the emoji Stay there and stay hidden. What I’m trying to do is that its position is automatically corrected so that it always leans against the right corner of the window, which occurs naturally in the left corner of the window.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Posicionar um objeto na tela_2</title>
<style type="text/css">
#imgpos {
position:absolute;
left:100%;
top:50%;
}
</style>
</head>
<body>
<p>Para retornar ao tutorial use o botão "Voltar" do seu navegador.</p>
<img src="https://criemoda.files.wordpress.com/2012/08/sorriso.png" width="220" height="220" alt="logo maujor" id="imgpos">
</body>
</html>
In advance I thank those who read and can answer!
None, I’m just trying to find a tool to align the image on the right of the screen, just this, I think CSS and Bootstrap can solve
– Vitor Marques Lourenço