Merhabalar,
Elimde 2 tane buton var. İkisi de çok güzel çalışıyor. Bu butonları sağa yasladım ancak aralarında belirleyeceğim miktarda boşluk olmasını istiyorum.
Yani
şeklinde olmasın, bitişik durmasınlar istiyorum.
index.html
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<button class="kayitTusu" onclick="kayitOl()">Kayıt Ol</button>
<button class="girisTusu" onclick="girisYap()">Giriş Yap</button>
</body>
</html>
style.css
.kayitTusu {
float: right;
background-color: #FF8C00 ;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.girisTusu {
float: right;
background-color: #FF8C00 ;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}