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
julian mullings
4,449 PointsHTML: cant split into 2 columns ????
how do i split into 2 columns?
''' <html> <head> <meta charset="utf-8"> <tittle>Julian Mullings | Designer</tittle> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=BioRhyme|Indie+Flower' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css">
<body> <header> <a href="index.html" id="logo"> <h1>Julian Mullings</h1> <h2>Designer</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/numbers-10.jpg">
<img src="img/numbers-10.jpeg" alt="">
<p>Experimentation with color and texture.</p>
</a>
</li>
<li>
<a href="img/numbers-11.jpg">
<img src="img/numbers-11.jpeg" alt="">
<p>water.</p>
</a>
</li>
<li>
<a href="img/numbers-14.jpg">
<img src="img/numbers-14.jpeg" alt="">
<p>water more water.</p>
</a>
</li>
<li>
<a href="img/numbers-16.jpg">
<img src="img/numbers-16.jpeg" alt="">
<p>open water.</p>
</a>
</li>
<li>
<a href="img/numbers-18.jpg">
<img src="img/numbers-18.jpeg" alt="">
<p>great water.</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://twitter.com/tribalthoughts"><img src="img/twitter-wrap.png" alt="Twitter logo"></a>
<a href="http://facebook.com/tribaldistances"><img src="facebook-wrap" alt="Facebook logo"></a>
<p>© 2017 Julian Mullings.</p>
</footer>
</div>
</body>
</head> </html> '''
3 Answers
julian mullings
4,449 PointsHey I don't understand, I should ' ul li{}? To the #gallery li'???
Waqas Ali Meer
4,153 PointsHi.
Simply float the li to left.
id ul li {
float: left;
}
julian mullings
4,449 PointsI got it !!! Thanks