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

HTML HTML Forms Form Basics Overview of Forms

Fieldset

why does fieldset create something like a border where you assign it?

2 Answers

Rohald van Merode
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

Hi joshua awuah,

That is the default styling for fieldset elements that is being applied by the browser. If you wish to remove it you can do so by targeting that element in the CSS and set the border to none.

Hope this helps 🙂

is the default alignment for input flex?

Tony Idehen
Tony Idehen
8,058 Points

It is set by default, and you can style the fieldset to customize it.