RSS feed
<< Lock bumping howto | Home | Saudi Arabs road skating >>

IE inline-block for Firefox

The inline-block value for display works in IE. In firefox, not so much. You could use two styles together, one for Firefox and one for IE but that would generate an error in Firefox. Instead, use CSS conditional comments to limit the IE specific style.

<style type="text/css">
.selector { display:table; }
</style>
<!--[if IE]>
<style type="text/css">
.selector { display: inline-block; }
</style>
<![endif]-->
Tags :



Add a comment Send a TrackBack

Home