471,603 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

Standard inline-block vs. Firefox -moz-inline-box

Could someone sum up the difference(s) between the standard CSS
display: inline block and the non-standard Firefox (Mozilla) display: -
moz-inline-box?

I have used the following in a couple of special situations to render
inline elements (like A and SPAN) as block elements that flow with
inline items and it seems to work, although I know I shouldn't depend
on such:

<style>
.special {
display: -moz-inline-box; /* Ignored by IE */
display: inline-block; /* Ignored by FF */
}
</style>
This is <a href="#" class="special" style="width:100px">interesting</
abecause the link acts as a block in both IE and FF.

Nov 8 '07 #1
0 2477

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Gustaf Liljegren | last post: by
5 posts views Thread by aznFETISH | last post: by
4 posts views Thread by Stuart Perryman | last post: by
12 posts views Thread by Brad | last post: by
9 posts views Thread by =?Utf-8?B?Sm9obiBCYWlsZXk=?= | last post: by
3 posts views Thread by Mufasa | last post: by
16 posts views Thread by bgold12 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.