title: How to add display:inline-block in a jQuery show() function?
body: <p>I have some code like this:</p>
  
  <pre><code>function switch_tabs(obj) {
      $('.tab-content').hide();
      $('.tabs a').removeClass("selected");
  
      var id = obj.attr("rel");
      $('#' + id).show();
      obj.addClass("selected");
  }
  </code></pre>
  
  <p>The show function adds <code>display:block</code>. But I would like to add <code>display:inline-block</code> instead of block.</p>