image in tooltip

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
rash28
Forum Commoner
Posts: 38
Joined: Wed Aug 01, 2007 1:21 am

image in tooltip

Post by rash28 »

Hi,

Can the background image in tooltip can be increased and decreased based on the content of tooltip information

The image should be reduced from all the corners.
If i used auto for width and height the image is not shown fully.
Without setting the width and heigth the image should be dynamically increased and decreased depending on text content.
Help me with this.
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Post by JellyFish »

Background images aren't scalable, at least in current day CSS2. Although CSS3 looks promising: http://www.css3.info/preview/background-size.html
Post Reply