How Do I Move A Button Position In Css Code Example
Example 1: positioning button inside div
.button-div {
position: relative;
}
.button {
position: absolute;
top:; <!-- declare your own positioning -->
left:;
}
Example 2: Move button in CSS
<html>
<head>
</head>
<body>
<div style = "position:relative; left:80px; top:2px; background-color:yellow;">
This div has relative positioning.
</div>
</body>
</html>
Comments
Post a Comment