J
johnsonholding
I want to do a text rollover, without a graphic background or anything.
MAybe like regular to bold text? Is this possible? Thanks
MAybe like regular to bold text? Is this possible? Thanks
I want to do a text rollover, without a graphic background or anything.
OK
MAybe like regular to bold text?
Is this possible?
Thanks
Not generally a good idea - bold text takes up more space, so
it can often cause the page to jump around.
Changing the background would be ok too, but I don't know how to do
that either! But I don't want a graphic at all, I just want the text
and the background colour maybe to change.
a:hover {
background-color: #ffffcc;
color: #3399cc;
}
Alan said:Just a routine warning that if you use <a name="xxx"> , then (in a
conforming browser, i.e not IE) it's going to respond to hovering,
which probably isn't what you want.
a:link:hover may be a safer selector to use for this, in general.
Also,
I think I am going to try and make the TEXT change color to be on the
safe side - I am guessing this is possible.
I am not using CSS, so can I include it without really know anything
about it?
a:hover {
background-color: #ffffcc;
color: #3399cc; }
Just a routine warning that if you use <a name="xxx"> [...]
a:link:hover may be a safer selector to use for this, in
general.
Ok, I believe I have figured it out. If there is anyone out there
that's sees something amiss, please let me know, I don't know how to
debug this stuff yet, so I flying by the seat of my pants right now :
<style type="text/css" >
BODY { font-family: verdana, ariel, serif }
a {
background-color: transparent;
color: #ffffff; /* white */
font-size: 9;
}
a:link {text-decoration: none;
background-color: transparent;
color: #ffffff; /* white */
}
a:visited {
background-color: transparent;
color: #800080; /* purple */
}
a.focus {
background-color: #554433;
color: #3399cc;
}
a:hover {text-decoration: underline;
background-color:;
color: #000000;
a:link {text-decoration: underline;
color: #000000;
background: transparent;
}
</style>
</head>
a:hover {text-decoration: underline;
background-color:; <---------- error
color: #000000;
Ok, I believe I have figured it out. If there is anyone out
there that's sees something amiss, please let me know, [...]
<snip>Rob said:<news:[email protected]> :Ok, I believe I have figured it out. If there is anyone out
there that's sees something amiss, please let me know, [...]
Ok, thanks I am starting to get some of it. I noticed it is pretty
complicated, but I am just trying to turn on the underlining when the
mouse moves on it, but have it off before the mouse hits it.
I want to do a text rollover, without a graphic background or anything.
MAybe like regular to bold text? Is this possible? Thanks
a:hover {
background-color: transparent;
color: red;
text-decoration: none;
}
No, Beauregard didn't write that.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.