Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialValeria de Dios
1,297 PointsBreakPoints
Hi, I,m working a responsive site on Dreamweaver, but when I insert the code it looks red and is not working. What am I doing wrong?
This is the code on my CSS:
@charset "UTF-8";
/* Rosponsive */
@media screen and (min-width: 769px) {
/******Page:Index****/
#logo{
width: 100%;}
}
1 Answer
James Ingmire
11,901 PointsFirstly not too sure why you have
<meta charset="utf-8">"
as is used in the HTML document not the CSS, it is also wrong and should be written as shown above
Secondly what are you trying to achieve with the logo element your targeting with a width of 100%.
If you need help you will need to copy the whole files and the goal in order to try understand the problem. p.s. The syntax is correct in the media query. Good luck tho :)