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

PHP Build a Basic PHP Website (2018) Listing and Sorting Inventory Items Creating the Display Function

Css in the catalog page is looking weird

In the Catalog.php site the css is making the books/movies/songs list be on one line with a little list-style dot not like in index where it's looking like it should. What's wrong?

Andrew McCormick
Andrew McCormick
17,730 Points

be sure to share relevant parts of your css, catalog.php, and a screenshot so we can see what might be going on

2 Answers

Stefan Ihle
Stefan Ihle
21,013 Points

I think I understand what your mean. The list items are among each other with a dot in front of each item? I had the same problem. My solution was to copy the css code from the project file and replace my css code with the one from the project file.

A little hint: in the index.php the ul-tag has a class attribute with a value of catalog. Replace these value with items.

Alena Holligan
Alena Holligan
Treehouse Teacher

workspaces and downloads should be fixed now

Hey Andrew, did that in two episodes later :)