• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

display:-moz-inline-box Firefox problem

 
Ranch Hand
Posts: 985
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello to all,

I added the following to my CSS:
<!--
display:-moz-inline-box; display: inline-block;
-->

Now text that uses previous CSS element does not wrap for Firefox. It does for IE. I've added the following:
<!--
white-space: -moz-pre-wrap;
-->

Still no luck.

Any help would be greatly appreciated,

Thanks,

sus
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why are you using this property in the first place?

Eric
 
Jesse Torres
Ranch Hand
Posts: 985
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Eric Pascarello:
Why are you using this property in the first place?

Eric



Hello,

I am using this property to prevent text from wrapping under the radio button.
For instance:

In IE it works fine
*Hello how
are you?

But in Firefox it doesn't:
*Hello how are you
asdfasdf

I have used a float for the radio button in conjunction with the display:inline-block. This has fixed the solution for IE but not for Firefox.

Thanks,
 
New rule: no elephants at the chess tournament. Tiny ads are still okay.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic