ethan77
February 23, 2016, 2:11pm
1
CSS
#header {
color:blue;
background-color:red;
border-radius:5px;
height:1px;
width:1px;
position:fixed;
z-index:1;
}
#footer {
color:red;
background-color:blue;
border-radius:5px;
height:1px;
width:1px;
}
.left {
float:left;
}
.right {
float:right;
}
Thats the CSS, the directions ask me to float class left to the left, and float right to the right.
#Error Message:
###Oops , try again. Did you remember to float .right to the right?
Hello ethan;
(I am just a beginner , but i will try my best to assist you here)
I don’t see any problem in CSS, run the code using other browsers.
If still u see same error means, an expert help over here is recommended.
ethan77
February 24, 2016, 2:14pm
3
Thanks for the feedback but using another browser did not work.
joo7
March 7, 2016, 12:54pm
4
Same error here
Oops, try again. Did you remember to float .left to the left?
Well, if you have a question, make your own topic with your code (full html + css)
@ethan77
The reason we do not want people to post their problem in the thread of someone else if found here:
https://discuss.codecademy.com/t/how-to-use-the-codecademy-community-forums/7187
can someone answer this its been 13 days…
@ethan77
Post the HTML code too, there can be an error inside it.
!DOCTYPE html>
html>
head>
link type=“text/css” rel=“stylesheet” href=“stylesheet.css”/>
title>
/head>
body>
div id="header"class=“right”>l
div id="footer"class=“left”>lp
/body>
/html>
well, please post your full html + css code
To format code so it’s visible, either wrap it in single backticks for a small amount of code, or triple backticks on an otherwise blank line before and after for a large amount of code.
If you don’t succeed, don’t delete it
@ethan77
You must close your div tag. I suggest you putting your ids and classes on different elements like this:
<div class="className"></div>
<div id="idName"></div>
So we can see the difference clearly between the classes and id.
you should have 4 divs, one with id header, one with class left, one with class right, and one with id footer.
The problem with the code you currently have, is that the ids are overwriting the classes
Thanks I got passed it now
zystvan
Split this topic
March 28, 2016, 1:52pm
16
21 posts were split to a new topic: Can someone help me with my resume?
Would y’all quit already? I’m sick of these gmail notifications spamming me. Just make a new thread is that too hard.
1 Like
@ethan77
Yeah you’re right we’ve been buzzing around all time! We should split this in a new topic the problem is that I’m not yet a Super User
so I can’t do that. Sorry, I didn’t notice we were posting in your topic!