I am working on a CSS file. I have everything working except for my columns for the three images. My footer is at the top of my page covering the header. I have ran my code through multiple CSS validators and I cant figure out where I am going wrong. I have spent quite a few hours trying to figure out this parsing and tried just about every solution I could come up with. I am lost and confused body { width: 95%; min-width: 640px; max-width: 960px; margin: auto; } /* Image Styles */ img { display: block; max-width: 100%; height: auto; } /* Horizontal Navigation Styles */ .horizontal li { display: block; float: left; width: 16.66%; } nav li a { display: block; } /* Grid Styles */ body { display: grid; grid-template-columns: 2fr 1fr; column-gap: 20px; } body > header, body > footer { grid-row: 1; grid-column: 1 / -1; } #sub { display: grid; grid-template-rows: repeat (3, 1fr); grid-template-columns: repeat (1fr, 3); } /* Specials Styles */ .specials { min-height: 400px; outline: 1px dashed rgb(71, 52, 29); } /* Award Styles */ aside { position: relative; height: 650px; overflow: auto; } aside div { position: absolute; width: 30%; } #award1 { top: 80px; left: 5%; } #award2 { top: 280px; left: 60%; } #award3 { top: 400px; left: 20%; } #award4 { top: 630px; left: 45%; } #award5 { top: 750px; left: 5%; } body > footer { clear: both; } aside { position: relative; height: 650px; overflow: auto; } aside div { position: absolute; width: 30%; } #award1 { top: 80px; left: 5%; } #award2 { top: 280px; left: 60%; } #award3 { top: 400px; left: 20%; } #award4 { top: 630px; left: 45%; } #award5 { top: 750px; left: 5%; } body > footer { clear: both; }
I am working on a CSS file. I have everything working except for my columns for the three images. My footer is at the top of my page covering the header. I have ran my code through multiple CSS validators and I cant figure out where I am going wrong. I have spent quite a few hours trying to figure out this parsing and tried just about every solution I could come up with. I am lost and confused body { width: 95%; min-width: 640px; max-width: 960px; margin: auto; } /* Image Styles */ img { display: block; max-width: 100%; height: auto; } /* Horizontal Navigation Styles */ .horizontal li { display: block; float: left; width: 16.66%; } nav li a { display: block; } /* Grid Styles */ body { display: grid; grid-template-columns: 2fr 1fr; column-gap: 20px; } body > header, body > footer { grid-row: 1; grid-column: 1 / -1; } #sub { display: grid; grid-template-rows: repeat (3, 1fr); grid-template-columns: repeat (1fr, 3); } /* Specials Styles */ .specials { min-height: 400px; outline: 1px dashed rgb(71, 52, 29); } /* Award Styles */ aside { position: relative; height: 650px; overflow: auto; } aside div { position: absolute; width: 30%; } #award1 { top: 80px; left: 5%; } #award2 { top: 280px; left: 60%; } #award3 { top: 400px; left: 20%; } #award4 { top: 630px; left: 45%; } #award5 { top: 750px; left: 5%; } body > footer { clear: both; } aside { position: relative; height: 650px; overflow: auto; } aside div { position: absolute; width: 30%; } #award1 { top: 80px; left: 5%; } #award2 { top: 280px; left: 60%; } #award3 { top: 400px; left: 20%; } #award4 { top: 630px; left: 45%; } #award5 { top: 750px; left: 5%; } body > footer { clear: both; }
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
I am working on a CSS file. I have everything working except for my columns for the three images. My footer is at the top of my page covering the header. I have ran my code through multiple CSS validators and I cant figure out where I am going wrong. I have spent quite a few hours trying to figure out this parsing and tried just about every solution I could come up with. I am lost and confused
body {
width: 95%;
min-width: 640px;
max-width: 960px;
margin: auto;
}
/* Image Styles */
img {
display: block;
max-width: 100%;
height: auto;
}
/* Horizontal Navigation Styles */
.horizontal li {
display: block;
float: left;
width: 16.66%;
}
nav li a {
display: block;
}
/* Grid Styles */
body {
display: grid;
grid-template-columns: 2fr 1fr;
column-gap: 20px;
}
body > header,
body > footer {
grid-row: 1;
grid-column: 1 / -1;
}
#sub {
display: grid;
grid-template-rows: repeat (3, 1fr);
grid-template-columns: repeat (1fr, 3);
}
/* Specials Styles */
.specials {
min-height: 400px;
outline: 1px dashed rgb(71, 52, 29);
}
/* Award Styles */
aside {
position: relative;
height: 650px;
overflow: auto;
}
aside div {
position: absolute;
width: 30%;
}
#award1 {
top: 80px;
left: 5%;
}
#award2 {
top: 280px;
left: 60%;
}
#award3 {
top: 400px;
left: 20%;
}
#award4 {
top: 630px;
left: 45%;
}
#award5 {
top: 750px;
left: 5%;
}
body > footer {
clear: both;
}
aside {
position: relative;
height: 650px;
overflow: auto;
}
aside div {
position: absolute;
width: 30%;
}
#award1 {
top: 80px;
left: 5%;
}
#award2 {
top: 280px;
left: 60%;
}
#award3 {
top: 400px;
left: 20%;
}
#award4 {
top: 630px;
left: 45%;
}
#award5 {
top: 750px;
left: 5%;
}
body > footer {
clear: both;
}
![W3C CSS Validator results for TextArea (CSS level 3 + SVG)
Sorry! We found the following errors (4)
URI: TextArea
14 #sub
14 #sub
15
16
body {
Valid CSS information
}
[repeat is not a grid-template-rows value : [{repeat]
Parse Error (3, 1fr);
Parse Error grid-template-columns: repeat (1fr, 3);
Parse Error }
VALIDATOR
}
display grid;
grid-template-columns : 2fr 1fr;
column-gap 20px;
:
body> header, body > footer {
grid-row
1;
grid-column 1 / -1;](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F029e1e5c-ce3e-4857-ae3b-bdc6c788e174%2Fa1dcdd0b-62a4-4676-9f45-ae2d65da9260%2Fenxqg0ko_processed.png&w=3840&q=75)
Transcribed Image Text:W3C CSS Validator results for TextArea (CSS level 3 + SVG)
Sorry! We found the following errors (4)
URI: TextArea
14 #sub
14 #sub
15
16
body {
Valid CSS information
}
[repeat is not a grid-template-rows value : [{repeat]
Parse Error (3, 1fr);
Parse Error grid-template-columns: repeat (1fr, 3);
Parse Error }
VALIDATOR
}
display grid;
grid-template-columns : 2fr 1fr;
column-gap 20px;
:
body> header, body > footer {
grid-row
1;
grid-column 1 / -1;
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education