Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Trevor Wood
17,828 PointsLast-child and Last-of-type Quick Question
Hey guys, I'm trying to get the last ">" to be removed on the last piece of text. Any ideas? Here's an example link
1 Answer

Shawn Denham
Python Development Techdegree Student 17,789 PointsYou might not care for this project, but keep in mind that CSS3 advanced selectors like :nth-child(), :last-child, :first-of-type, etc. are not supported in IE8 and earlier. :)
Trevor Wood
17,828 PointsTrevor Wood
17,828 PointsAh okay, fixed it. Didn't realize that for the last one you needed ":after" as well.
Question - #navigation li:last-of-type { content: none;}
Solution - #navigation li:last-of-type:after { content: none;}