I want to know why .sisa span{}
is not working but .sisa,span{}
is working ?
doesnt it mean that without the comma you are simply selecting all spans within that class ? so it should also work ?
<!DOCTYPE html>
<html>
<head>
<title> html5</title>
<meta charset="UTF-8"/>
<style>
div.sisa{
width: 515px;
height: 230px;
border: 1px solid #73AD21;
background-color: #adfab7;
}
.sisa span{
text-align:center;
}
</style>
</head>
<body>
<form >
<div class="sisa">
<span>Esim. postinumero tai kunta </span>
</div>
</form>
</body>
</html>