Hi, I have a div where I have set its width to 480.
It works fine in IE, the text that i m inserting in this div gets
wrapped, but in firefox the text that i m inserting in the div is
coming out.
What's a workaround for that.
Here is my stylesheet for that div.
#detailsPopup2 {position:absolute;border-width:2px;border:solid;border-
color:#666666;text-align:left;padding:5px;top:480px;left:60px;width:
400px;height:auto;background:#52F3FF;font-family:sans-serif;font-size:
80%;z-index:110;} 3 2041
Le 10/2/08 6:15 PM, Sunny a écrit :
Hi, I have a div where I have set its width to 480.
no, it's 400.
It works fine in IE, the text that i m inserting in this div gets
wrapped, but in firefox the text that i m inserting in the div is
coming out.
What's a workaround for that.
no problemo with my Fx
perhaps the default font-size is higger in your Fx than in your IE and
you have a word (a string without white-spaces) longer than the width of
the div ?
Here is my stylesheet for that div.
#detailsPopup2 {position:absolute;border-width:2px;border:solid;border-
color:#666666;text-align:left;padding:5px;top:480px;left:60px;width:
400px;height:auto;background:#52F3FF;font-family:sans-serif;font-size:
80%;z-index:110;}
Try fixing the width of your div in 'em' instead of 'px'
On Oct 2, 1:02 pm, SAM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
Le 10/2/08 6:15 PM, Sunny a écrit :
Hi, I have a div where I have set its width to 480.
no, it's 400.
It works fine in IE, the text that i m inserting in this div gets
wrapped, but in firefox the text that i m inserting in the div is
coming out.
What's a workaround for that.
no problemo with my Fx
perhaps the default font-size is higger in your Fx than in your IE and
you have a word (a string without white-spaces) longer than the width of
the div ?
Here is my stylesheet for that div.
#detailsPopup2 {position:absolute;border-width:2px;border:solid;border-
color:#666666;text-align:left;padding:5px;top:480px;left:60px;width:
400px;height:auto;background:#52F3FF;font-family:sans-serif;font-size:
80%;z-index:110;}
Try fixing the width of your div in 'em' instead of 'px'
Hi em didn't work.
But ya, if the string is longer,its wrappimg in IE, But in Firefox its
coming out of the div.
What should I do now.?
Le 10/2/08 7:36 PM, Sunny a écrit :
On Oct 2, 1:02 pm, SAM <stephanemoriaux.NoAd...@wanadoo.fr.invalid>
wrote:
>Try fixing the width of your div in 'em' instead of 'px'
Hi em didn't work.
???
But ya, if the string is longer,its wrappimg in IE, But in Firefox its
coming out of the div.
IE is wrong :-(
What should I do now.?
width: 400px; /* for IE < 7 */
min-width: 400px; /* for other browsers */
max-width: 600px; This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Roderik |
last post by:
Hi,
When I use <pre> inside my <td> cells, the text won't flow to a new line
and the table gets to large in width. This will appear in Firefox this
way, Internet Explorer will wrap the lines,...
|
by: lkrubner |
last post by:
I've got a function, you can see it below, that is being called
onmouseup in the textarea on my main form. The idea is to find a
selection if possible and store that text in a global variable. I...
|
by: bryanrite |
last post by:
I have two floating divs within a 100% width container div. In IE when
you resize the window to the point where the text should wrap, it wraps
and extends the height of the container div. In...
|
by: Fluffy Convict |
last post by:
I am trying to write a script that changes a textarea wrap realtime,
basically like you can switch to and from "wordwrap" in Microsofts
Notepad. Because of a bug...
|
by: Mark D. Smith |
last post by:
Hi
I have googled but not found a solution to wordwrap in a textarea using
firefox/netscape.
is there a style sheet solution or am i stuck with not being able to force
wrapping in a textarea...
|
by: Markus Ernst |
last post by:
Hi
Searching for a possibility to display some text with preserved white
space and line breaks, but with long lines being wrapped, I found this
CSS declaration, which I found helpful:
pre {...
|
by: martymix |
last post by:
simple question:
I have a simple <dt>test text</dt>
I get the innerHTML of that dt, and I try and append some text to it
like so:
dt = document.getElementsByTagName('dt')
var text =...
|
by: Victor |
last post by:
Hi all
i have a css question about how to wrap a long text by using css. for
example I have a very long text like
"ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
there...
|
by: Mark |
last post by:
Hi
I'm looking to create a colapsable list like what we see in a news reader or
on a forum.
- Basically, any number of levels up to 10 (i.e. more than whats likely to
be needed)
- Able to...
|
by: removeps-groups |
last post by:
How to wrap text in <ptag if the text has no spaces and is very
long? Here is an example:
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |