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

CSS

Normalize.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

Can you post the css you're using that you think normalize is overriding?

In 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

Hi Stein,

It should be separate

Was your goal to have individual borders around each cell?

Yup that fixed it! Can't believe it was just a spelling error.

Thank you Jason

You're welcome.