Reputation: 1103
In the screenshots, the form text fields are set to 97% to create a gap between them. It works in all browsers except Firefox -- it seems it stretches all the way to 100%. Anyone pls give me a way to get around this?
Upvotes: 1
Views: 406
Reputation: 324650
Try adding box-sizing: border-box
(and the corresponding -moz-box-sizing
, -webkit-box-sizing
). Otherwise, padding and margin are added to the 97% instead of included in.
Upvotes: 6