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 CSS Basics (2014) The Box Model Borders

Border not responding to width commands

When using: border-width: 10px 20px; border-style: solid; border-color: #ffa949; my border shows up very thin, regardless to changes made to the border-width. Only once I added border: solid; was the width responsive.

Likewise, when using the shorthand, border: 10px solid #ffa949; the border is thin and does not respond to changes in width.

1 Answer

Steven Parker
Steven Parker
229,732 Points

How strange. I certainly can't replicate this. Are you sure there isn't some other CSS affecting this?

Can you demonstrate this using a workcpace? Then you can make a snapshot of your workspace and post the link to it here.