Solved

Custom popup box will not wrap text

Posted on 2008-10-24
2
215 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now