PHP Build a Basic PHP Website 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,728 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 :)