[quote=arip]only both top corners are rounded... bottom corners did not work...
[/quote]
[spoiler]if you want your tooltips with rounded borders..
just paste this code
dvHdr.style.MozBorderRadius='10px 10px 0px 0px';
in this part
Code:
function defHdrStyle() {
dvHdr.innerHTML='<img style="vertical-align:middle" src="info.gif"> '+dvHdr.innerHTML;
dvHdr.style.fontWeight='bold';
dvHdr.style.width='170px';
dvHdr.style.fontFamily='StarTrek Film BT';
dvHdr.style.border='2px solid #000000';
dvHdr.style.padding='4';
dvHdr.style.fontSize='15';
dvHdr.style.color='#ffffff';
dvHdr.style.background='#000000';
dvHdr.style.filter='alpha(opacity=85)'; // IE
dvHdr.style.opacity='0.85'; // FF
}
and this
[color=blue][b]dvBdy[/b][/color].style.MozBorderRadius='0px 0px 10px 10px';
on this part
Code:
function defBdyStyle() {
dvBdy.style.borderBottom='2px solid #000000';
dvBdy.style.borderLeft='2px solid #000000';
dvBdy.style.borderRight='2px solid #000000';
dvBdy.style.width='170px';
dvBdy.style.fontFamily='StarTrek Film BT';
dvBdy.style.fontSize='14';
dvBdy.style.padding='4';
dvBdy.style.color='#000000';
dvBdy.style.background='#FFFFFF';
dvBdy.style.filter='alpha(opacity=85)'; // IE
dvBdy.style.opacity='0.85'; // FF
}[/spoiler]