So verschieben Sie ein Bild in CSS
.image{
position: relative;
top: -125px;
}
Selfish Salamander
.image{
position: relative;
top: -125px;
}
.image{
position: absolute;
right:300px;
}
text-align: center;
<html>
<head>
</head>
<body>
<div style = "position:relative; left:80px; top:2px; background-color:yellow;">
This div has relative positioning.
</div>
</body>
</html>
float up and down