Urgh. All I want to do is have the text change colour when I mouse over. A simple little bloody thing. Works fine in i.e, but not in Firefox.
Im using Frontpage, which is of course an MS product. Any thoughts? I dont have time to learn html so 'use notepad' aint gonna help me right now thanks
I cant believe that trying to do something so simple would give me browser compatibility problems.
Thanks
edit: mebbe this should be in 2D/3D sorry?
Replies
What hex colors do you want for each link action?
NEVER use Frontpage. Never!
I was afraid people would say that
<font class="small">Code:</font><hr /><pre> A:link {
font-weight: normal;
color: #333333;
font-family: Arial, Helvetica, sans-serif;
text-decoration: none
}
A:visited {
font-weight: normal;
color: #333333;
font-family: Arial, Helvetica, sans-serif;
text-decoration: none
}
A:hover {
color: #999999;
}
a:active {
color: #999999;
}
</pre><hr />
Just figured this request would fit here better rather than making a new thread. It's not too important that I find a fix, I am just wondering really.
Good luck Daz, can't wait too see what your new site looks like (then again, Frontpage... ) - well it's the content i'm after anyway!
a:visited {text-decoration: underline; font-family: Tahoma,arial,verdana,Helvetica; color: #cc9900}
a:active {text-decoration: none; font-family: Tahoma,arial,verdana,Helvetica; color: #cc9900}
a:hover {text-decoration: none; font-family: Tahoma,arial,verdana,Helvetica; color: #cc9900}</STYLE>
what i use on my site.. put after <title> and in between the <head> 's..
<head>
<style>
body
{
your text/link color css code
}
</style>
</head>
http://www.studioflaagan.com/
Line 5, column 6: required attribute "TYPE" not specified
but I've never known why this is important. I normally leave the "alt" tag off my images. I guess it's all a matter of compatibility and accessibility for larger sites. I believe some sites can be sued for not providing these functions.
I avoid placing styles within a page. Create CSS files and place a link to it in each page between the head tags after the title tag. This way, changing a single link, background, or text style will automatically update several pages saving you hours of work.
my site: http://www.davidfromberg.com
The type tag is important should there be more than one language for styles later on. hat way the browser doesn't have to guess what language you're using. The W3C demands you put a charset and doctype tag in any document but often it works well enough when the browser simply assumes a windows-type charset (though I've seen japanese sites omit this tag and therefore not displaying properly which kills Babelfish).