Why in Frontpage Do HTML Effects Preview Fine But Then Error Out Later?
October 16, 2004 12:59 PM
Subscribe
Goofy Frontpage question: I use Frontpage to just get a basic visual framework of a site in front of me, then I go in and do my own coding. Yet I'm stupmed as to why, when I use a DHTML effect that previews fine, but upon load is non-existent or gives me an error... any suggestions?
Specifically, I'm trying to do a simple mouseover command that underlines, italicizes, or boldens, but in Mozilla or IE, nothing happens and I get an 'error on page' notification. I can post a link to an example if that helps... thanks in advance.
posted by moonbird to computers & internet (3 comments total)
Are you trying to create a simple effect which shall occur when one hovers over a link on the page?
You might try a simple stylesheet to alter the look of your link.
For example, you may put in the head of your document something along these lines:
<style type="text/css">
a:hover {
text-decoration:underline;
color:#900 /* red */
font-style:italic;
}
</style>
If you do choose to go this route, and style other aspects of your link, i.e. normal state, active state, hover state and visited state, remember a simple rule when it comes to time to create your styles, the 'LoVe HAte' rule:
a:link { /*style */ }
a:visited { /* style */ }
a:hover { /* style */ }
a:active { /* style */ }
Keeping your styles in this order will prevent odd behavior.
I do wish I could help you with your specific question, though if you experience too much trouble with DHTML and need a quick solution, you might want to try styles.
posted by tenseone at 2:31 PM on October 16, 2004