Question Details

[solution] »

Hey, I'm having some CSS issues when I run my CSS code through a CSS Validator I get this error:<


Description

Answer Download


The Question

Hey, I'm having some CSS issues when I run my CSS code through a CSS Validator I get this error:


Expected RBRACE at line 171, col 1.

@media only screen and (max-width: 768px) {


How would I fix this issue? I have also attached my full CSS document if that helps thank you

This is the section of code there error occurs at:

/* Smartphone */
@media only all and (max-width: 768px) {
h1 {
font-size: 1.5em;
padding-left: 0.3em;
height: 100%;
}
nav {
padding: 0;
}
nav a {
display: block;
padding: 0.2em;
font-size: 1.3em;
}
nav ul {
margin: 0;
padding: 0;
}
nav li {
display: block;
margin: 0;
padding: 0;
}
.sideright {
background: #4682B4;
color: #FFFFFF;
margin: 10px;
border-radius: 5px;
padding: 20px;
font-size: 75%;
float: right;
height: 350px;
width: 140px;
}
main {
margin: 10px;
font-size: 80%;
}
#focus {
display: none;
}

footer {
padding: 0;
}
#mobile {
display:inline;
}
#desktop {
display:none;
}
}

 


Solution details

Solution #000122250

[solution] »

Hey, I'm having some CSS issues when I run my CSS code through a CSS Validator I get this error:<.zip

Uploaded by: Tutor

Answer rating:

This paper was answered on 14-Oct-2020

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Oct 14, 2020

EXPERT

Tutor

ANSWER RATING

BEST TUTORS

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

STUCK WITH YOUR PAPER?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now