use css for header img

This commit is contained in:
filifa 2024-08-15 20:16:46 -05:00
parent c6edb71ae2
commit c784eb3d02
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class DDHeader extends HTMLElement {
connectedCallback() {
this.innerHTML = `
<header>
<img id="headerimg" src="/watching.jpg" alt="cows with glowing eyes" width=150 height=150 />
<div id="headerimg"></div>
<div id="headermain">
<p><a id="homelink" href="/">dairydemon.net</a></p>
<nav>

View File

@ -32,6 +32,7 @@ footer {
height: 128px;
width: 128px;
flex: initial;
background-image: url("/watching.jpg");
}
#headermain {