 <p>The button is using the default styling. By setting the border to solid will override the default styles.</p> <p>You can combine the border declaration of width, style and colour into one line like so:</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-css lang-css prettyprint-override"><code>.btnstyle2{ height: 28px; text-align: center; background-color: #F8F8F8; border-radius: 3px; border: 2px solid #E8E8E8; }</code></pre> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;button type="button" class="btnstyle2"&gt;Dismiss&lt;/button&gt;</code></pre> </div> </div> </p>