Help!

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/web-beginner-en-6merh/4/4?curriculum_id=50579fb998b470000202dc8b

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Oops, try again. Did you remember to float #left to the left?

```

body {
background-color: #b7d1c4
}

h2 {
font-family: Verdana;
font-weight: bold;
text-align: center;
padding-top: 25px;
padding-bottom: 25px;
color: #acd1b2;
}

img {
height: 170px;
width: 170px;
box-shadow: rgba(0,0,0,0.2) 10px 10px;

}

#navbar {
position: fixed;
margin-top: -10px;
}

left:50%;
margin-left:-254px;

}

#header {
position: relative;
top: -10px;
background-color: #3c4543;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}

ul{
list-style-type: none;
position: fixed;
margin: -10px;
}

li {
display: inline;
padding: 5px;
}

border: 2px solid #000000;
font-family: Futura, Tahoma, sans-serif;
color: #ffffff;
border-radius: 5px 5px;
background-color: #cc0323

}

#left {
float: left
width: 45%

}

p {
font-family: Tahoma;
font-size: 1em;
}

#right{
float: right;
width: 45%
}

}

table {
border: #000000 1px solid;
background-color: #acd1b2;
float: right;
margin-right: 10px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
}

td {
height: 75px;
width: 75px;
}

td img {
height: 75px;
width: 75px;
box-shadow: none;
}

th {
font-family: Verdana;
font-size: 1em;
font-weight: normal;
color: #3c4543
}

#bottom_left{
border-bottom-left-radius: 15px;
}

#bottom_right{
border-bottom-right-radius: 15px;
}

#footer{
clear: both;
}

position: relative;
bottom: -20px;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
height: 75px;
background-color: #3c4543;

}

#button{
border: 2px solid #000000;
float:left;
position: relative;
left: 229px;
bottom: -20px;
border-radius: 5px;
background-color: #cc0323;
height: 30px;
width: 150px;

}

#button p{
position: relative;
bottom: 10px;
font-size: 0.8em;
color: #acd1b2;
text-align: center;
}

.bold{
font-family: tahoma;
font-weight: bold;
font-size: 1.2em;
font-variant: small-caps;
color: #ffffff;
}

<do not remove the three backticks above>

this:

#navbar {
	position: fixed;
	margin-top: -10px;
}
	
	left:50%;
	margin-left:-254px;
}

looks a bit wrong.

1 Like

Your semicolons, where have they gone? —> ;



#left {
	float: left
	width: 45%
	
}
1 Like

That too, definitely…

the semi-colons definitely as well.

1 Like

It is just left right and footer that are coming out as error what am i doing wrong

Check our answers, your code needs a few improvements.

Check this too

#right{
	float: right;
	width: 45%
}
	
}  ----> ???

but the exercise error messages aren’t always 100% accurate, you need to fix all problems in your css file

1 Like

IUn the lesson i only had to change the left right and footer but i will check my css file

1 Like

and footer

Something wrong here as well

#footer{
	clear: both;
}
	
	position: relative;
	bottom: -20px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	height: 75px;
	background-color: #3c4543;
}

I fixed my mistake it was in the css file it got caught up in to many curly brackets

1 Like

Awesome, is it working fine now?

Yes it is working fine

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.