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 trialRyan Bevilacqua
7,716 PointsMake a Grid From Photos.
Hello,
I'm looking for some help on creating a grid from my images. Using HTML and CSS, what would the proper code be?
I have set the position to relative and the display to inline-block but nothing is happening...
Thank you for your time,
Ryan
1 Answer
Steven Parker
231,248 PointsDepending on how you implement a grid, you might not need those properties, and as you noticed they don't make a grid by themselves. There are several ways to create grids, including a simple table, but the choice of technique should be made with your specific needs in mind.
You might be interested in the CSS Layout Techniques course which covers a specific grid technique. It also covers the use of flexbox which could meet your needs as well.