Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Styling Web Pages and Navigation Style the Image Captions

Column Problem

all images in the gallary are of not same height because of which some alignments problems are occuring

2 things

1st You posted the same question 2 times

2nd We can't help you if you don't post code. Please if you want help post code.

a{ text-decoration:none; }


max-width:940px; margin:0 auto; padding:0 5%; }

body{ font-family:'Open Sans',sans-serif; color:#999; font-size:0.85em; }

img{ max-width:100%; }


text-align:center; margin:0; }

/* Heading */ header{ background-color:#6ab47b; }

h1{ font-family:'Changa One',sans-serif; font-size:1.75em; margin:15px,0; font-weight:normal; line-height:0.8em; }

h2{ font-size:0.85em; font-weight:normal; margin:-5px,0,0; padding:10px,0; margin:20px,0; }

/* Image Gallary */


margin:0; padding:0; list-style:none; }

gallary li{

float:left; width:45%; margin:2.5%; background-color:#f5f5f5;


gallary li a p{

margin:0; padding:5%; color:#bdc3c7; font-size:0.75em; }

/* Footer */ footer{ clear:both; text-align:center; padding-top:50px; color:#ccc; } h1,h2{ color:#fff; }

/* Navigation Bar */ nav{ text-align:center; background-color:#599a68; }

nav a, nav a:visited{ color:#fff; }

nav a.selected , nav a:hover{ color:#32673f; }

/*@media screen and (min-width:480px){

gallary li a p{

text-align:center; font-size:1em; } }*/