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 trialHo Sun Lee
2,003 Pointsthe list of contact info is centered, how do I make it not centered? I tried text align, but it wouldn't work.
I gave the ul an id (contact) and wrote #contact li {text-align: left;}
Should i not give it an id, and just use the class? And also, what happens if I have both a class and an id in the same element?
2 Answers
Caroline Hagan
12,612 PointsHo Sun Lee if you can post the code you are working on, we can see where the issue lies.
Bob Nearents
790 Pointscheck our code to see if you already have a rule targeting ul's or li's and make the rule more concise to that one particular instance. If you don't have any other rules, try selecting the list instead of the list item. But like everyone else has said it would be a lot easier to help if you had code...
Zapp You
3,548 PointsZapp You
3,548 PointsMaybe you should add the code.