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

CSS

John Levy
John Levy
1,451 Points

Problems with the text lining up once I add the CSS

I made a order form and before I add the CSS everything lines up correctly. Once I add the CSS "image for feature" text for feature #1 works as it should with it being just above the browse button but the "image for feature" text for feature #2 and #3 moves to the right side of the page rather than sitting just above the browse buttons. I have attached the code below. http://codepen.io/Johned22/pen/bBoRgz What do I need to change to fix this? Thanks in advance

3 Answers

.wrapper {
  margin: 0 0 20px 0;
  float: left;
 /*
You are missing " float: left; on .wrapper ", Try to learn Flexbox is much better than floats.
*/
}
Tracy Excell
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Tracy Excell
Front End Web Development Techdegree Graduate 15,333 Points

Hello,

I am looking via chrome and all of the "image for feature" titles are sitting above the buttons, to the left. What browser are you using? Sometimes they all read the css differently. To combat this you can add normalize.css in your head tag, which gets rid of browser inconsistencies.

Good luck

John Levy
John Levy
1,451 Points

Thanks, that solved my problem