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
Stein Christensen
3,592 PointsNormalize.css Cascading Issues?
I am trying to add table spacing to my main.css because Normalize collapses it. However, this has no effect. I also placed my main.css link under normalize.css link in my head, this did not solve the problem. Any suggestions?
Thanks
Stein Christensen
3,592 PointsIn my Nomalize.css
'''table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }'''
In my Main.css
'''table { border-collapse: seperate; border-spacing: 20px; }
td, th { padding: 0; }'''
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsHi Stein,
It should be separate
Was your goal to have individual borders around each cell?
Stein Christensen
3,592 PointsYup that fixed it! Can't believe it was just a spelling error.
Thank you Jason
Jason Anello
Courses Plus Student 94,610 PointsYou're welcome.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsCan you post the css you're using that you think normalize is overriding?