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
Maxim Kontsevitch
25,447 PointsHow to set the border height
Can you please let me know how can I adjust the border height
3 Answers
Tim Knight
28,888 PointsSvetlana,
The border itself is actually based on whatever element it's being assigned to... for example, if you have a div, the border will be the same height as your div.
Guil Hernandez
Treehouse TeacherTo set a border's height, you can use the border-width CSS property. I discuss adjusting border thickness at the 7:05 mark of this video.
Hope this helps! :)
Maxim Kontsevitch
25,447 PointsThanks Guil! But I am looking for the border height. I do not want the border to b too long.
Maxim Kontsevitch
25,447 PointsMaxim Kontsevitch
25,447 PointsThanks! That Helped