I’m trying to remove the margin between the search bar and the “Go!” button at the top of this page: http://beta.linksku.com/
I’ve tried removing all styles and adding margin:0;padding:0;border:none;, but there is still a margin between the two elements. I cannot replicate this problem on JSFiddle, but it occurs in all browsers on my website.
This is how elements function as
inline-block.Normally when you use
inline-blockelements, you often use them inside a paragraph, so the space between the letters must be consistent.inline-blockelements apply to this rule too.If you want to remove the space completely, you can float the elements.
You can also remove the whitespace from your template document. Like so: