From: Phillip Allard <[EMAIL PROTECTED]>
To: Michael Leibson <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2007 2:54:57 PM
Subject: Re: [css-d] how to suppress default hypertext link 'hover' borders?
>You might wanna try "a:active{outline:none;}", I know this works for FF. The
>reason I use a:active, is to comply with TAB browsing, where >you do need some
>kind of indicator for the currently selected link.
>Hope this helps,
>Philip A.
Thanks, Phillip -- I appreciate the help!
Unfortunately, I find that while it works in FF, it -- like everything else, so
far -- doesn't work in IE6.
By the way: do you mean that it's preferable to use a:active rather than
a:hover?
- Michael
On 7/20/07, Michael Leibson <[EMAIL PROTECTED]> wrote:
Hi;
I've discovered that both IE6 and FF seem to put a default border (dotted)
around any hypertext link while it is being clicked. I've tried various steps
to suppress this -- eg, adding the styles "a {border: none;}, a
{border-style: none;} a:hover {border: none;}", etc -- but nothing seems to
work.
Here's my (very basic) style code, which the W3C CSS Validation Service okays:
body {margin:0; padding:0; color:black;font-family: "Lucida Sans Unicode",
"Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;} a
{text-decoration: none; border: none}a:link {color: #79BEEA;} a:visited {color:
#79BEEA;}
a:hover {color: #C4BF66;} a:active {color: #C4BF66;}
I should add that "a {text-decoration: none}" does eliminate the browsers'
default underline.
Any tips?
Thanks, in advance!
- Michael
Be smarter than spam. See how smart SpamGuard is at giving junk email the
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ --
http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
----- Original Message ----
Get a sneak peak at messages with a handy reading pane with All new
Yahoo! Mail: http://mrd.mail.yahoo.com/try_beta?.intl=ca
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/