How To Create CSS Bubble Tooltip in blogger

Posted by Lasantha Bandara on November 15th, 2009 File Under : css1 Comment

1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Scroll down to where you see </head> tag .

3.Copy below code and paste it just before the </head> tag and save your template.

<style type='text/css'>{
} span{ display: none; }

/*background:; ie hack, something must be changed in a for ie to execute it*/{ z-index:25; color: #aaaaff; background:;} span.tooltip{
top:0px; left:0;
padding: 15px 0 0 0;
color: #993300;
text-align: center;
filter: alpha(opacity:90);
KHTMLOpacity: 0.90;
MozOpacity: 0.90;
opacity: 0.90;
display: block;
padding: 30px 8px 0;
background: url( no-repeat top;
} span.middle{ /* different middle bg for stretch */
display: block;
padding: 0 8px;
background: url( repeat bottom;
} span.bottom{
display: block;
padding:3px 8px 10px;
color: #548912;
background: url( no-repeat bottom;

4.Now when you add a link use the below structure:

<a href="YOUR-LINK" class="tt">LINK-NAME<span class="tooltip"><span class="top"></span><span class="middle">YOUR-TOOLTIP-MESSAGE</span><span class="bottom"></span></span></a>

Look at the example below.

<a href="" class="tt">Premium Blogger Templates<span class="tooltip"><span class="top"></span><span class="middle">Download Free Premium Templates Free</span><span class="bottom"></span></span></a>

It will look like this:

CSS Bubble Tooltips
CSS Bubble Tooltips


File Under : css

Related Posts

One Response to “How To Create CSS Bubble Tooltip in blogger”

  1. ism33ail says:

    thnx a lot ...
    this is a nice trick ..!!

Leave a Reply