Skip to content

Commit d797428

Browse files
committed
footer centered
1 parent 72c7f8b commit d797428

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

Wireframe/index.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ <h2>Git branches</h2>
5858
</article>
5959
</main>
6060
<footer>
61-
<p>
62-
&copy; This all about wireframe. All Rights Reserved. | <a href="mailto:contact@yourdomain.com">Contact
63-
Us</a> | <a href="/about">About</a> | <a href="/sitemap">Sitemap</a>
64-
</p>
61+
This all about wireframe. All Rights Reserved.
6562
</footer>
6663
</body>
67-
6864
</html>

Wireframe/style.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,18 @@ https://www.w3.org/WAI/tutorials/page-structure/regions/
5353
main {
5454
max-width: var(--container);
5555
margin: 0 auto calc(var(--space) * 4) auto;
56+
height: 90%;
5657
}
5758
footer {
58-
position: fixed;
59-
bottom: 0;
6059
text-align: center;
60+
padding: 15px 0;
61+
position: fixed;
62+
width: 100%;
63+
bottom: 0;
64+
left: 0;
65+
font-family: Arial, sans-serif;
66+
border: solid;
67+
background-color: #ccc;
6168
}
6269
/* ====== Articles Grid Layout ====
6370
Setting the rules for how articles are placed in the main element.

0 commit comments

Comments
 (0)