PDA

View Full Version : Remove excess bottom padding in Data Tip


tsj4
04-14-2008, 06:21 PM
My data tips has extra space under the text. I have tried to specify a value of 0 for the dataTip bottomPadding like in the example below with no success.


DataTip {
bottomPadding:0;
}

the line which formats the dataTip

if (h.element.name == "Total Server Bytes Uploaded") s = "Total Server Bytes Uploaded : <b>"+h.item.t_up+"</b>";


Example image
http://tsj4.com/tooltip.png

flextor
05-01-2008, 11:06 PM
You should set it to a negative number. I did it with with -7 and it worked fine. Good luck