[jQuery] Re: Changing Tooltip style

2009-02-01 Thread Matt

Your tooltip text will actually show up within an h3 tag wrapped
inside the #tooltip div.

Keep your #tooltip styles the way they were (without the font-size
property), and set up a new one like this:

#tooltip h3 {
font: normal 10px Verdana;
margin: 0;
padding: 6px 2px
}

(or whatever suits your needs)

Good luck!


Matt

On Jan 31, 5:37 pm, apple  wrote:
> Hi,
>
> I would like to change the tooltip style: making the font smaller with
> a different color ; I tried changing the tooltip.css but it seems not
> to work...
>
> #tooltip {
>         position: absolute;
>         z-index: 3000;
>         background-color: #eee;
>         padding: 5px;
>         font-size:small;                     <-
>         opacity: 0.85;
>
> }
>
> Please advice.
>
> Thanks in advance


[jQuery] Re: Changing Tooltip style

2009-01-31 Thread donb

Specify a value, either absolute (such as 7px) or relative (such as
80% or .9em)

On Jan 31, 5:37 pm, apple  wrote:
> Hi,
>
> I would like to change the tooltip style: making the font smaller with
> a different color ; I tried changing the tooltip.css but it seems not
> to work...
>
> #tooltip {
>         position: absolute;
>         z-index: 3000;
>         background-color: #eee;
>         padding: 5px;
>         font-size:small;                     <-
>         opacity: 0.85;
>
> }
>
> Please advice.
>
> Thanks in advance