This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > February 2005 > Superscript in code snippet





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Superscript in code snippet
Tommy Desperate

2005-02-26, 6:30 pm

I would like to do two more things with code snippet:

1. I would like to have the word that triggers a ScreenTip to be in
superscript. For example, I now have: <span title="comment or
phrase"style="color:blue"<|note|</span> How can I get the "note" in
superscript? Also, if I want an off-shade of blue, can I use a number after
"color:" instead of the word blue?

2. In the comment or phrase I'll use for the ScreenTip, how can I can I put
a book title in italics? I tried to use code for this in code view but it
didn't work.

3. One more quick question: How can I extend the default 3 seconds for the
ScreenTip?

I use FrontPage 2003. My website is http://www.hairloss-reversible.com.
Murray

2005-02-26, 6:30 pm

See below -

--
Murray
============

"Tommy Desperate" <TommyDesperate@discussions.microsoft.com> wrote in
message news:6C0929F0-8269-4578-BECE-606DB18ACB23@microsoft.com...
>I would like to do two more things with code snippet:
>
> 1. I would like to have the word that triggers a ScreenTip to be in
> superscript. For example, I now have: <span title="comment or
> phrase"style="color:blue"<|note|</span>

Your code *should* be this -

<span title="comment or phrase" style="color:blue">|note|</span>
(note the corrected typos)

> How can I get the "note" in
> superscript?


<sup><span title="comment or phrase" style="color:blue">|note|</span><sup>

> Also, if I want an off-shade of blue, can I use a number after
> "color:" instead of the word blue?


Sure (for example) -

<sup><span title="comment or phrase" style="color:#CCF">|note|</span><sup>

>
> 2. In the comment or phrase I'll use for the ScreenTip, how can I can I
> put
> a book title in italics? I tried to use code for this in code view but it
> didn't work.


You cannot style the contents of the title attribute.

>
> 3. One more quick question: How can I extend the default 3 seconds for the
> ScreenTip?


You cannot.

>
> I use FrontPage 2003. My website is http://www.hairloss-reversible.com.



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews