Cross Browser Inline-Block Example


/ Published in: CSS
Save to your folder(s)

Apply an inline-block to all browsers, including IE6 and IE7.


Copy this code and paste it in your HTML
  1. .myelement {
  2. display: inline-block;
  3. }
  4.  
  5.  
  6. /* Include only for IE 5.5+ */
  7. .myelement {
  8. display: inline;
  9. zoom: 1;
  10. }

URL: http://vivifystudios.com/articles-css-inline-block/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.