 <p>Just make your own class for display block.</p> <pre><code>.db{ display:block; } </code></pre> <p>Then on your jquery just toggle class.</p> <pre><code> $("button").click(function(){ $("#1").toggleClass('db'); }) </code></pre>