Solved

Custom popup box will not wrap text

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
asp.net, radiobuttonlist, c# 3 68
JSON help 8 46
Submitting form with no refresh at the end 2 32
How do I refresh ajax data from controller using angular? 3 19
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

734 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