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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Anton Moritz](https://uploads.teamtreehouse.com/production/profile-photos/17353/micro_Anton_moskva_small.png)
Anton Moritz
5,490 PointsWhy isn't my submit button's width 100%?
Hi,
I am currently redesigning my personal website and portfolio, and I can't get my contact form to be how I want it.
Go to my testing website projects.antonmoritz.com
As you can see, the blue "Send" button is not as wide as the other input elements. If you take a look at the code, all the elements have a width set to 100%, so I don't understand why it does this.
Anyone who can help me?
Best, Anton Moritz
![Eddy Valna](https://uploads.teamtreehouse.com/production/profile-photos/117248/micro_Avatar.jpg)
Eddy Valna
Courses Plus Student 3,978 Pointsbtw your site looks awesome so clean.
![Anton Moritz](https://uploads.teamtreehouse.com/production/profile-photos/17353/micro_Anton_moskva_small.png)
Anton Moritz
5,490 PointsJake Simon No, I can't set a fixed width, since every width on the site is in percentage to make it responsive.
Thanks for the feedback. Do you think visitors understand that my navigation menu is made of the three icons in the bottom instead of the top? I wanted to make something different.
![Eddy Valna](https://uploads.teamtreehouse.com/production/profile-photos/117248/micro_Avatar.jpg)
Eddy Valna
Courses Plus Student 3,978 PointsThe 3 icons at the bottom? it's really vague i would put specific heading under it so it will read better. so the user understands what each button is before clicking it.
![James Barnett](https://secure.gravatar.com/avatar/43ea08b4fc547e8a5da87c207bea2123?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
James Barnett
39,199 PointsIf you are still having issues with it create a reduced test case using codepen
![Anton Moritz](https://uploads.teamtreehouse.com/production/profile-photos/17353/micro_Anton_moskva_small.png)
Anton Moritz
5,490 PointsJake Simon Yeah, that's what I thought too. I might use tooltips that appear when hovering the icons, since that is a more simplistic and clean way to give some context. What do you think?
![Anton Moritz](https://uploads.teamtreehouse.com/production/profile-photos/17353/micro_Anton_moskva_small.png)
Anton Moritz
5,490 PointsJames Barnett I tried making a simple CodePen that shows this scenario.
Take a look at http://cdpn.io/Gnqgb
As you can see, the submit button is still not 100% wide.
What do you think?
2 Answers
![Anton Moritz](https://uploads.teamtreehouse.com/production/profile-photos/17353/micro_Anton_moskva_small.png)
Anton Moritz
5,490 PointsJake Simon James Barnett Mario Blokland Woho!! I solved it by putting the box-sizing to "border-box".
Thank you all for your help!
Best, Anton
![Mario Blokland](https://uploads.teamtreehouse.com/production/profile-photos/125628/micro_me.jpg)
Mario Blokland
19,750 PointsI think you have a problem with the cascade. If you put "padding: 0;" in ".talk .contact form input, submit", your button will be as wide as the other elements. But the height in fact reduces. I would check your stylesheet.
![Mario Blokland](https://uploads.teamtreehouse.com/production/profile-photos/125628/micro_me.jpg)
Mario Blokland
19,750 PointsP.S. don't just erase the padding. You have got to put the padding: 0 inside. Thatswhy I think you have a problem with your cascade.
Did you make up the page only with treehouse knowledge? Simple page but looks very good :-)
Eddy Valna
Courses Plus Student 3,978 PointsEddy Valna
Courses Plus Student 3,978 Pointscan't you manually set the width within css to a specific pixel size?