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
samir hosny
445 PointsConfused about Css elemntes
Hello my friends :)
I've two problems about css . 1- Property and value .
How i know all of them , how i writing right property code with right value code
Example : Float,Padding,Margin ,.... Ect. 33% , 50px , Top , Left , Center , Both , .... Ect.
2- Selector , Elements
I see many page write many selector with id or class in Css file like ;
navbar
.nav nav.navbar
Why and when writing like that selector code ?
3 Answers
Wayne Priestley
19,579 PointsHi Samir,
Rather than trying to explain it all to you and probably confusing you more in the process take a look at shayhowe.com you'll get a really good grasp of all the naming and syntax, its a great site.
Kevin Korte
28,149 PointsThose are tough to try to explain in a forum like Wayne said above. Spend more time going through the CSS lessons here and you'll start to be able to answer these questions yourself. It'll make more sense to ya!
samir hosny
445 PointsThank you my friends ,
Good resource it's helpful me to beginning in html & css .