Bootstrap 5.3.5 Anker -Tag mit einem nicht klickbaren Bild
Posted: 13 Apr 2025, 06:38
Ich habe die folgende Base.html in meiner Quart -Vorlage mit Bootstrap 3.5.3:
![Image]()
{{ title }}
< /code>
CSS: < /p>
.header {
height: 100px;
vertical-align: middle;
}
.header img {
float: left;
width: 100px;
height: 100%;
background: #555;
}
.header h1 {
position: relative;
margin: 0 auto;
height: 100px;
height: 100%;
text-align: center;
color: rgb(0, 73, 101);
}
#header-title {
position: absolute;
text-align: center;
display: inline;
margin: 0 auto;
height: 100px;
height: 100%;
color: rgb(0, 73, 101);
}
< /code>
Keine der UI -Elemente ist auf dem Browser anklickt. Was vermisse ich?
{{ title }}
< /code>
CSS: < /p>
.header {
height: 100px;
vertical-align: middle;
}
.header img {
float: left;
width: 100px;
height: 100%;
background: #555;
}
.header h1 {
position: relative;
margin: 0 auto;
height: 100px;
height: 100%;
text-align: center;
color: rgb(0, 73, 101);
}
#header-title {
position: absolute;
text-align: center;
display: inline;
margin: 0 auto;
height: 100px;
height: 100%;
color: rgb(0, 73, 101);
}
< /code>
Keine der UI -Elemente ist auf dem Browser anklickt. Was vermisse ich?