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 trialpete childs
3,454 Pointsi changed my portfolio pictures and now the clear left doesnt seem to be working. theres a space second row first column
the photos were not precisely 1024x760. some where off by a few pixels. do they need to be 1024x760 on the money? thanks
3 Answers
pete childs
3,454 Pointsfiguring out how to follow up on this discussion. i tried putting code in the add an answer area but it blocked up into one big paragraph. is this the area to post the code or is there a way to post it up were it wont block up. thanks
pete childs
3,454 Points <head>
<meta charset="utf-8">
<title>Pete Childs | Pro Handicapper </title>
<link rel="stylesheet" href="css/normalize.css">
<link href="https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400i,700,700i,800" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/responsive.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Pete Childs</h1>
<h2>Handicapper</h2>
</a>
<nav>
<ul>
<li><a href="index.html" class="selected">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<ul id="gallery">
<li>
<a href="img/race1.jpg">
<img src="img/race1.jpg" alt="">
<p>Daily news from the Main Track.</p>
</a>
</li>
<li>
<a href="img/race2.jpg">
<img src="img/race2.jpg" alt="">
<p>Whats new on the Lawn.</p>
</a>
</li>
<li>
<a href="img/race3.jpg">
<img src="img/race3.jpg" alt="">
<p>Jetsetting the world with International Racing.</p>
</a>
</li>
<li>
<a href="img/race4.jpg">
<img src="img/race4.jpg" alt="">
<p>Your daily scratches and changes.</p>
</a>
</li>
<li>
<a href="img/race5.jpg">
<img src="img/race5.jpg" alt="">
<p>Petes daily tips.</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://twitter.com/On_The_Bit"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
<a href="http://facebook.com/100004745267412"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>
<p>© 2016 Pete Childs.</p>
</footer>
</div>
</body>
</html>
pete childs
3,454 Points```@media screen and (min-width: 480px) {
/***************************** TWO COLUMN LAYOUT *****************************/
#primary { width: 50%; float: left; }
#secondary { width: 40%; float: right; }
/***************************** PAGE: PORTFOLIO *****************************/
#gallery li { width: 28.3333%; }
#gallery li:nth-child(4n) { clear: left; }
/***************************** PAGE: ABOUT *****************************/
.profile-photo { float: left; margin: 0.5% 80px 0; }
}
@media screen and (min-width: 660px) {
/***************************** HEADER *****************************/
nav { background: none; float: right; font-size: 1.125em; margin-right: 5%; text-align: right; width: 45%; }
#logo { float: left; margin-left: 5%; text-align: left; width: 45%; }
h1 { font-size: 2.5em; }
h2 { font-size: 0.825em; margin-bottom: 20px; }
header { border-bottom: 5px solid #599a6b; margin-bottom: 60px; }
}
rk15
1,963 Pointsrk15
1,963 PointsHi, Could you please share the code.
Renu