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 trial
G.S. Walker
853 PointsMy two column responsive layout contact page isn't working.
I tried deleting the codes and starting over but I can't get my contact page to format like Nick's. My CSS codes are below:
Responsive.css:
@media screen and (min-width: 480px) {
/********************************* TWO COLUMN LAYOUT **********************************/
primary {
width: 50%; float: left; }
#secondary { width: 40%; float: right; }
}
@media screen and (min-width: 660px) {
}
Contact.css:
<!DOCTYPE html> <html> <head> <meta charset="utf-g"> <title>Gloria Walker | Designer</title>
<link rel="stylesheet" href="css/normalize.css"/>
<link href='http://fonts.googleapis.com/css?family=Changa+One:400,400italic|Open+Sans+Condensed:700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css"/>
<link rel="stylesheet" href="css/reponsive.css"/>
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Gloria Walker</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html" class="selected">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section id="primary">
<h3>General Information</h3>
<p>I am not currently looking for new design work, but I am available for speaking gigs and similar engagements. If you have any questions, please don't hesistate to contact me!</p>
<p>Please only use phone contact for urgent inquiries. Otherwise, Twitter and email are the best way to reach me.</p>
</section>
<section id="secondary">
<h3>Contact</h3>
<ul class="contact-info">
<li class="phone"><a href"tel:555-6425">555-6245</a></li>
<li class="mail"><a href="mailto:gloriawalkr@gmail.com">gloriawalkr@gmail.com</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=gloluvslife">@gloluvslife</a></li>
</ul>
</section>
<section>
</section>
<footer>
<a href="http://twitter.com/gloluvslife"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
<p>© 2014 Gloria Walker</p>
</footer>
</div>
</body> </html>
3 Answers
John Donnell
7,801 PointsI don't see a hashtag # in front of primary #primary
G.S. Walker
853 PointsHi John, its on there just doesn't show up here for some reason...
primary {
width: 50%; float: left; }
#secondary { width: 40%; float: right; }
G.S. Walker
853 PointsDon't know why it looks like that...