PDA

View Full Version : Adjusting balloon size



gw1500se
07-24-2011, 03:38 PM
1) Script Title: balloontip.css

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/balloontooltip.htm

3) Describe problem: Now that I have images working for my balloons, I am having a problem with the balloon size. The combination of the image and text exceeds the apparent default width of the balloon. There does not seem to be a parameter in the script that changes that. I see a width parameter in the css but it changing it does not seem to do anything. How do I control the size of the balloon?

TIA.

ddadmin
07-25-2011, 07:19 AM
Changing the width property inside balloonltip.css should do the trick unless you also have a CSS width property explicitly defined inline inside the balloon DIV, for example:


<div id="balloon2" class="balloonstyle" style="width: 350px; background-color: lightyellow">
Award winning JavaScript tutorials and over 400+ free scripts.
</div>

In this case the later always takes precedence.

gw1500se
07-25-2011, 01:22 PM
Thanks, that is what I changed before and it did nothing. This time it worked so I am assuming it was some kind of cacheing issue.