I have this css for the header:
.panelSuperior{
position: relative;
top: 0;
left: 0;
width: 100%;
height: 250px;
background-repeat: no-repeat;
}
.logo{
position: absolute;
top: 25px;
left: 35%;
width: 350px;
height: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
here's my html:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>index.html</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="panelSuperior">
<img alt="fondoPrincipal" src="fondoPrincipal.jpg" class="panelSuperior"/>
</div>
<div class="logo">
<img alt="logoFlorida" src="logoFlorida.png" class="logo"/>
</div>
<br>
</body>
</html>
I want to use that header for all my html pages I have. I tried doing some research online but all answers are with php, and I have to do it with html. Is there any way to do that?