Results 1 to 3 of 3

Thread: Adjusting balloon size

  1. #1
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Adjusting balloon size

    1) Script Title: balloontip.css

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...oontooltip.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.
    Last edited by ddadmin; 07-25-2011 at 07:17 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    <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.
    DD Admin

  3. #3
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •