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

HTML How to Make a Website Sharing a Website Find a Domain

Rifqi Fahmi
Rifqi Fahmi
23,164 Points

pharagraph problem

hmm I want to ask why when I write longer pharagraph for each image, the first image pushing away the image right under on it then the image will move to another place. How to fix this problem??

Gunhoo Yoon
Gunhoo Yoon
5,027 Points

Do you mind sharing your code? It's kind of hard to tell what exactly happened.

Mark Casavantes
Mark Casavantes
Courses Plus Student 13,401 Points

Hi Rifqi,

Without seeing your code and from your description it sounds to me that you are having a problem with aligning your images. The link below may help you.

http://www.w3schools.com/tags/att_img_align.asp

In the future copy and paste your code and then place three back ticks (the lower case on the ~ key) in front of all your code and three back ticks (the lower case on the ~ key) at the end of all your code. I just noticed that the back ticks will not show up when I type them here.

There are a lot of people who seek to help you, but you need to give them enough information to know where and how they may help you. Posting your code makes helping you easier.

1 Answer

Cody Te Awa
Cody Te Awa
8,820 Points

From memory of the course, it actually tells you how to fix that, but if you haven't got that far it talks about selecting every nth child in css, the nth child being each image at the start of the row and clearing the top of it so that it clears the whole row. Otherwise the paragraph from above doesn't leave enough required space in the below it so the image below keeps moving along one place until if finds somewhere it can fit.

Gunhoo Yoon
Gunhoo Yoon
5,027 Points

Possibly this video is what you were referring to Build a three column layout