Made some divs consistent, the header was a div type with id='header'
and the footer was a footer type with no id, so now they are both both. Also added some margins at the top and bottom of the page in CSS
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<%- include('../partials/head'); %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<header id="header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
<%- include('../headers/user'); %>
|
||||
</div>
|
||||
</header>
|
||||
<div id="posts">
|
||||
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
||||
<% if (posts[index].userID == userID) { %>
|
||||
@@ -15,7 +15,7 @@
|
||||
<% } %>
|
||||
<% } %>
|
||||
</div>
|
||||
<footer>
|
||||
<footer id='footer'>
|
||||
<%- include('../partials/footer'); %>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user