Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 674
  • Last Modified:

Word Wrap Text in Spry Tooltip widget

I am using Spry Tooltip widget and I cannot get the text to wrap!  Instead, it just cuts it off.
<cfset RegionAssign = "This is the text that should be in the box and needs to wrap">

            <div id="Region#Region_ID#">
                #Region#
            </div>
            <div id="Title#Region_ID#" class="tooltipContent" style="width:200px;font-size:.9em;">#RegionAssign#</div>
            <script type="text/javascript">
            var tt1 = new Spry.Widget.Tooltip('Title#Region_ID#','##Region#Region_ID#', {offsetX: "10px", offsetY: "10px"});
            </script>

Open in new window

0
Lee R Liddick Jr
Asked:
Lee R Liddick Jr
  • 4
  • 3
1 Solution
 
reitersCommented:
Seems like you may have CSS set somewhere defaulting to "overflow: hidden;" thats getting applied to your div.  Have you used that somewhere that might be getting assigned and you don't remember it?

maybe try something like this?
<div id="Title#Region_ID#" class="tooltipContent" style="overflow: show;width:200px;font-size:.9em;">#RegionAssign#</div>

I know very little about css so im completely guessing...good luck
0
 
Lee R Liddick JrReporting AnalystAuthor Commented:
That didn't work, but thanks.
0
 
reitersCommented:
The only way, that I can think of, that  content can be hidden like that is with overflow: hidden; or iframe.  I wouldn't think it's an iframe.

If you use firebug plug-in in Firefox you can inspect the element and see where the css is being applied.

If I could get an link here or through private message I'd be happy to look at it.
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
Lee R Liddick JrReporting AnalystAuthor Commented:
its on a secure network...let me look at firebug and see what I can see and figure out.
0
 
Lee R Liddick JrReporting AnalystAuthor Commented:
I never did figure this out...I just went a different route so I'm just awarding the points to the answer you provided.  Thank you!
0
 
reitersCommented:
Thank you for the points.  You can always request your points funded if you do not get an answer.  I don't think anybody helping expects points if their solusion isn't correct.
0
 
Lee R Liddick JrReporting AnalystAuthor Commented:
Not a problem...I'm sure it will help someone else out though if they search on a solution for something like this.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now