HighDots Forums  

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

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Standard inline-block vs. Firefox -moz-inline-box in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shadow Lynx
 
Posts: n/a

Default Standard inline-block vs. Firefox -moz-inline-box - 11-08-2007 , 03:31 PM






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</
a> because the link acts as a block in both IE and FF.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.