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!
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
index.php page doesn't show the content proper way
I looks like css file doesn't work on the index.php.I haven't made any change the downloaded code.
unordered list items doesn't display the elements inline block it displays as a block item and large images.
If your index page has
then change "catalog" to "items". The css file is expecting that class to be "items".
Also, later when you create the catalog.php page there will be a
ul on that page too. Make sure you give it a class of "items" as well.
Sebastian Karg28,705 Points
I have the same issue. Set up my project localy on a MAMP Server, using Brackets as Editor and Chrome Browser for preview. Never had problems with that setup so far, but after renaming the index.html to index.php and refreshing the page the style.css doesn't load. However if I open style.css and try to change something it loads perfectly until I refresh index.php.
Does anyone have an idea how to fix this issue?