A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
display:-moz-inline-box Firefox problem
Jesse Torres
Ranch Hand
Joined: Mar 25, 2004
Posts: 985
posted
Sep 05, 2006 11:26:00
0
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
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
Sep 05, 2006 13:12:00
0
Why are you using this property in the first place?
Eric
Jesse Torres
Ranch Hand
Joined: Mar 25, 2004
Posts: 985
posted
Sep 05, 2006 21:45:00
0
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,
I agree. Here's the link:
http://aspose.com/file-tools
subject: display:-moz-inline-box Firefox problem
Similar Threads
converting html to pdf
Understanding CSS layout practices.
How to flow-layout 2 submit buttons
Preserve word wrap and line breaks
JSF2 Modal Dialog Box
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter