Re: Bookmark display

From: Ronx (ronx917_at_hotmail.com)
Date: 10/09/04


Date: Sat, 9 Oct 2004 22:29:55 +0100

The A:hover pseudo element is not officially defined, so is open to
interpretation by different browsers (see
http://www.w3.org/TR/CSS1#anchor-pseudo-classes)

My solution, wrapping the links in a <div> and amending the style *** as
described below, should resolve the problem on *this page, on other pages a
<span> might be more appropriate.

I generally bookmark borderless images or use empty bookmarks, example: <a
name="ex"></a> which are not recommended since they allegedly fail in some
browsers (I have yet to find a browser they fail in - though I have not
tested any Apple-Macs.) These bookmarks do not display any hover
characteristics at all.

-- 
Ron
Reply only to group - emails will be deleted unread.
"Craig Schiller" <cschiller1@earthlink.net> wrote in message 
news:41683A38.37C3E74F@earthlink.net...
> Ronx -
>
> Thanks for your reply.
>
> Actually, the code in the page is:
>
> <style fprolloverstyle>A:hover {color: #FF0000; font-variant: small-caps;
> font-weight: bold}
> </style>
>
> The question is why is Netscape parsing this incorrectly (applying the 
> effect
> to a bookmark) while IE parses it correctly (does not apply the effect to 
> a
> bookmark). Or, really, more importantly. how to defeat this behavior in
> Netscape.
>
> TIA,
> Craig
>
>
>
> Ronx wrote:
>
>> I am guessing here that you have a style set up similar to
>> <style>
>> a:hover {text-transform:capitalize;}
>> </style>
>>
>> The above might affect all anchors, whether they are links or bookmarks.
>>
>> One solution is to place the links in a <div> and change the style *** 
>> to
>> refer to the div.
>> <style>
>> #faq a:hover {text-transform:capitalize;}
>> </style>
>>
>> <div id=faq>
>> links to bookmarks
>> </div>
>> --
>> Ron
>>
>> Reply only to group - emails will be deleted unread.
>>
>> "Craig Schiller" <cschiller1@earthlink.net> wrote in message
>> news:4165CF3D.B3E1E568@earthlink.net...
>> > Hi, all -
>> >
>> > I have a page of FAQs on my website, where the topics at the top of the
>> > page are links to bookmarks of discussions of those items lower in the
>> > page. In other words. links at top, discussion below.
>> >
>> > The links at top are configured to change color and change to small 
>> > caps
>> > when hovered over.
>> >
>> > In IE, everything works as it should. In Netscape 7, however, the 
>> > target
>> > bookmarks also change color and change to small caps when hovered over,
>> > which, since they are not links, they shouldn't do, and of course is
>> > confusing.
>> >
>> > How do I prevent this behavior in Netscape?
>> >
>> > URL is www.theschillergroup.com/faqs.htm
>> >
>> > TIA for any suggestions.
>> >
>> > Craig
>> >
>