Tech on Tour - Web Design header image 2

Firefoz Inline Block Fix

August 13th, 2007 by daniel.snell · No Comments


Whilst building one of the sites I work I discovered that Firefox seems to have not allowed the display: inline-block attribute. This can be a bit frustrating to find that one of the best browsers out there doesn’t seem to support all the css standards. But never fear as we often find there is a workaround. I did a bit of hunting on the internet for a fix. My findings led me to this discussion. You might need to work around a few other things but anyways the code works like this.

{
display: -moz-inline-box; /* Fixes Firefox */
display: inline-block;
}

Let us know your thoughts or any other workarounds in the comments.

Powered by ScribeFire.

Tags: General

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment