Solved

Custom popup box will not wrap text

Posted on 2008-10-24
2
245 Views
Last Modified: 2012-05-05
My custom popup is not working correctly.  It is not wrapping the sentences.
It
Looks
like
this.

I have tried taking out paddning.  Chagne position.  Added word-spacing..no change
I have tried setting the width and height..no change
<div id="divDropDownToolTip" style="position:absolute;word-spacing:normal;display:none;background:yellow; border:1px solid gray;padding:2px;font-size:10pt;font-family:Verdana;" onMouseOut="hideDropDownToolTip()">
    <span id="informationText"></span>
 </div>

                                                                                 
0
Comment
Question by:aninec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
MMDeveloper earned 500 total points
ID: 22799208
assign it a hard width


width: 450px;

and make sure there isn't any "white-space: nowrap" css on it or it's child span tag.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 22799805
instead of display:none;  try display:inline;
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question