
Signature
I hope this helps you,
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*
Office 2003 explained
http://microsoft.com/uk/office/editions.asp
Hi Bob and lostinspace
Thanks for the replies. I discovered an earlier thread that is similar
to the problem that I am experiencing and enclose a copy of the
question that I asked in the thread. At present I have to open the
saved file (Save as Webpage - html)in notepad to view the code and to
cut and paste the a:hover style to its correct place which gets a
little bit annoying and I was wondering if there was a better way of
doing it with a new style through style the Style dialogue box in Word
that could solve the problem:
From: Carol (carol.buehrens@goldeneaglecorp.com)
Subject: Links hover style
View this article only
Newsgroups: microsoft.public.word.web.authoring
Date: 2002-10-23 17:44:02 PST
Does anyone know the trick to keeping the a:hover style
working in Word 2000 or XP? I have to reinsert it manually
each time I edit the file. Word moves it to the top of the
list, which means it will then only work for unvisited
links. Thank you!
I discovered this thread and wondered if anyone has discovered an
answer to to it. The same happens to me with Word in that when I add a
a:hover stlye through the HTML source control after the visited link
style, Word moves it to the top of the page which nullifies the style
since it has to follow the visited link for it to have any effect.
Please also see my post:
http://groups.google.com/groups?q=hover+word+2000&hl=en&lr=&ie=UTF-8&selm=8cdd41
ee5ff761fbc98ddc00342da1aa%40localhost.talkaboutsoftware.com&rnum=2
Is there a way of creating a new style element in Word based on the
hyperlink that caters for the hover element. If you click on the
hyperlink syle box it allows to modify the font, border and language
but not to create a new style based on hyperlink which accorfing to the
Based On box is a Default Paragraph Font which you can't get to when
creatind a new style. I hope that that makes sense.
Thank you lostinspace for your reply but it does not quite address my
question.
Thank you.
Bob Buckland ?:-\) - 02 Sep 2004 15:20 GMT
Hi Potain,
The elements in the Word Style dialog (Font, paragraph, etc)
unfortunately don't have an element that would add the hover
style prefix in that I recall). Word looks at specific predefined
style names internally and 'just knows' it's supposed to
treat them as HTML unique, but the hover one (not being usable
within Word) doesn't appear to be there.
You can have a screentip show when hovering, but no 'action'
in the text within Word. You can use autotext entries and
Edit=>replace as methods to modify the HTML code if you
File=>Open as plain text rather than as a Word document
(turn on [x] Confirm Conversions at Open in Tools=>Options=>General
first.
The autotext entry could be a javascript or text replacement.
Using the Web Tools toolbar that supports form elements there
isn't a method there for including the needed code. Word 97
had a 'melt through' feature that sadly has not been brought back.
With that feature you could write HTML in the body of your word
document, then paint it with a specific HTML style and it would
them be moved on save by Word into the HTML layer and out of the
body of the document.
Another thing you may want to look at, depending on your Word version(?)
is to try using a Cascading Style Sheet (CSS) with Word that included
a hover style. I haven't had an opportunity to spend time trying that
approach yet to see if it would work.
========
Hi Bob and lostinspace
Thanks for the replies. I discovered an earlier thread that is similar
to the problem that I am experiencing and enclose a copy of the
question that I asked in the thread. At present I have to open the
saved file (Save as Webpage - html)in notepad to view the code and to
cut and paste the a:hover style to its correct place which gets a
little bit annoying and I was wondering if there was a better way of
doing it with a new style through style the Style dialogue box in Word
that could solve the problem:
From: Carol (carol.buehrens@goldeneaglecorp.com)
Subject: Links hover style
View this article only
Newsgroups: microsoft.public.word.web.authoring
Date: 2002-10-23 17:44:02 PST
Does anyone know the trick to keeping the a:hover style
working in Word 2000 or XP? I have to reinsert it manually
each time I edit the file. Word moves it to the top of the
list, which means it will then only work for unvisited
links. Thank you!
I discovered this thread and wondered if anyone has discovered an
answer to to it. The same happens to me with Word in that when I add a
a:hover stlye through the HTML source control after the visited link
style, Word moves it to the top of the page which nullifies the style
since it has to follow the visited link for it to have any effect.
Please also see my post:
http://groups.google.com/groups?q=hover+word+2000&hl=en&lr=&ie=UTF-8&selm=8cdd41
ee5ff761fbc98ddc00342da1aa%40localhost.talkaboutsoftware.com&rnum=2
Is there a way of creating a new style element in Word based on the
hyperlink that caters for the hover element. If you click on the
hyperlink syle box it allows to modify the font, border and language
but not to create a new style based on hyperlink which accorfing to the
Based On box is a Default Paragraph Font which you can't get to when
creatind a new style. I hope that that makes sense.
Thank you lostinspace for your reply but it does not quite address my
question.
Thank you. <<

Signature
I hope this helps you,
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*
Office 2003 explained
http://microsoft.com/uk/office/editions.asp
lostinspace - 06 Sep 2004 23:41 GMT
----- Original Message -----
From: <>
Newsgroups: microsoft.public.word.web.authoring
Sent: Wednesday, September 01, 2004 9:04 PM
Subject: Re: a:hover in styles for word 2000
> Hi Bob and lostinspace
>
[quoted text clipped - 39 lines]
>
> Thank you.
The Style Sheets which Word utilizes and the Cascading Style Sheets used in
web pages are two entirely different things. Apples and Oranges.
These links are all utilization of Cascading Style Sheets within web pages.
http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes
http://www.w3schools.com/css/css_pseudo_classes.asp
http://www.yourhtmlsource.com/stylesheets/csslinks.html
http://www.webreference.com/dhtml/diner/hover/
http://www.macromedia.com/support/dreamweaver/ts/documents/ahover.htm
http://www.net-sites.com/sitebuilder/frontpage/tips/tip3.asp
http://forums.htmlcenter.com/showthread.php?s=&threadid=1235
The closet alternative which you might explore is in using MS-Front Page
rather than Word in creating you html pages?
In that instance you would be able to incorporate CSS into the html.
Bob Buckland ?:-\) - 08 Sep 2004 06:13 GMT
For Word 2000, CSS was not available except as defined
within the Word package content. In Word 2002 and in
Word 2003 CSS sheets can be linked to a Word document
or Word Web document:
either through VBA in a macro
http://msdn.microsoft.com/library/en-us/vbawd11/html/woobjStyleSheets.asp
or manually through the User Interface.
http://office.microsoft.com/assistance/hfws.aspx?AssetID=HP030852941033
There are some limitations to the CSS features supported but
they are Cascading Style Sheets
=====
The Style Sheets which Word utilizes and the Cascading Style Sheets used in
web pages are two entirely different things. Apples and Oranges.
These links are all utilization of Cascading Style Sheets within web pages.
http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes
http://www.w3schools.com/css/css_pseudo_classes.asp
http://www.yourhtmlsource.com/stylesheets/csslinks.html
http://www.webreference.com/dhtml/diner/hover/
http://www.macromedia.com/support/dreamweaver/ts/documents/ahover.htm
http://www.net-sites.com/sitebuilder/frontpage/tips/tip3.asp
http://forums.htmlcenter.com/showthread.php?s=&threadid=1235
The closet alternative which you might explore is in using MS-Front Page
rather than Word in creating you html pages?
In that instance you would be able to incorporate CSS into the html. >>

Signature
I hope this helps you,
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*
Office 2003 explained
http://microsoft.com/uk/office/editions.asp