Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > HTML
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

HTML HTML problems, maybe you are trying to code for MySpace. Get all the HTML coding help here for your website.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 1:26 PM   #1
Erik Harris
 
Erik Harris's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS :hover and Internet Explorer 6?

Does Internet Explorer 6 support the CSS ":hover" attribute, or am I simply
doing something wrong? All of the links on my websites (linked to in my
signature) change color when the mouse hovers over them in Mozilla, but
nothing happens in Internet Explorer 6.

--
Erik Harris n$wsr$ader@$harrishom$.com
AIM: KngFuJoe http://www.eharrishome.com
Chinese-Indonesian MA Club http://www.eharrishome.com/cimac/

The above email address is obfuscated to try to prevent SPAM.
Replace each dollar sign with an "e" for the correct address.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 07-01-2007, 1:26 PM   #2
David Dorward
 
David Dorward's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS :hover and Internet Explorer 6?

Erik Harris wrote:

> Does Internet Explorer 6 support the CSS ":hover" attribute


Only on <a> elements

> or am I simply doing something wrong?


MSIE doesn't support attribute selectors, so it doesn't recognise
a[href]:hover.

Use a:link:hover and a:visited:hover instead.

--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/20...ces-ie-is-dead
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:27 PM   #3
Jukka K. Korpela
 
Jukka K. Korpela's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS :hover and Internet Explorer 6?

"rf" <making.it.up@the.time> wrote:

> IE doesn't support a[href]:hover. Use a:hover or .content a:hover or
> whatever.


David's suggestion to use a:link:hover and a:visited:hover is better,
since Mozilla treats :hover as applying to almost any element, so if
there's e.g. <a name="...">...</a> somewhere, it would match a:hover.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:27 PM   #4
rf
 
rf's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS :hover and Internet Explorer 6?


"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote in message
news:Xns93A5865C755A3jkorpelacstutfi@193.229.0.31. ..
> "rf" <making.it.up@the.time> wrote:
>
> > IE doesn't support a[href]:hover. Use a:hover or .content a:hover or
> > whatever.

>
> David's suggestion to use a:link:hover and a:visited:hover is better,
> since Mozilla treats :hover as applying to almost any element, so if
> there's e.g. <a name="...">...</a> somewhere, it would match a:hover.


Good point.

Cheers
Richard.


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:40 PM   #5
Erik Harris
 
Erik Harris's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS :hover and Internet Explorer 6?

On Wed, 25 Jun 2003 01:57:07 +0100, David Dorward <dorward@yahoo.com> wrote:

>Erik Harris wrote:
>
>> Does Internet Explorer 6 support the CSS ":hover" attribute


>Only on <a> elements


That's kind of a pain, especially if you want it to behave differently on
text links and image links. For example, I've got:

a[href]:hover { color: #EEA; background: transparent; text-decoration:
underline }
a:hover IMG {border: 1px solid #EEA}

Neither works. So apparently, IE not only doesn't support attribute
selectors, but it also doesn't support context-dependent styles (a:hover
IMG). I don't want the text links to have a 1 pixel solid border, so
combining them into one doesn't appear to be an option.

>> or am I simply doing something wrong?


>MSIE doesn't support attribute selectors, so it doesn't recognise
>a[href]:hover.


>Use a:link:hover and a:visited:hover instead.


The reason I didn't just use "a:hover" (or the above choices) is because I
didn't want my <a name=""> place-mark links to be hilighted. And I believe
the Validator balked at <a name="text"></a> (which is fine when its only
purpose is to mark the beginning of a section) because it didn't like an
empty <a></a>.

--
Erik Harris n$wsr$ader@$harrishom$.com
AIM: KngFuJoe http://www.eharrishome.com
Chinese-Indonesian MA Club http://www.eharrishome.com/cimac/

The above email address is obfuscated to try to prevent SPAM.
Replace each dollar sign with an "e" for the correct address.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:41 PM   #6
Jukka K. Korpela
 
Jukka K. Korpela's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS :hover and Internet Explorer 6?

Erik Harris <n$wsr$ader@$harrishom$.com> wrote:

> It still doesn't help the case of the contextual selector I'd like
> to use, though (a:hover IMG), since IE only allows :hover with <a>,
> and since I want borders around hovered link images, but not text
> links.


You can use e.g.

:link img { border: solid blue thin; }
:visited img { border: solid #939 thin; }
:link:hover img, :visited:hover img { border-color: red; }

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:43 PM   #7
Erik Harris
 
Erik Harris's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS :hover and Internet Explorer 6?

On Thu, 26 Jun 2003 06:48:52 +0000 (UTC), "Jukka K. Korpela"
<jkorpela@cs.tut.fi> wrote:

>Erik Harris <n$wsr$ader@$harrishom$.com> wrote:
>
>> It still doesn't help the case of the contextual selector I'd like
>> to use, though (a:hover IMG), since IE only allows :hover with <a>,
>> and since I want borders around hovered link images, but not text
>> links.

>
>You can use e.g.
>
>:link img { border: solid blue thin; }
>:visited img { border: solid #939 thin; }
>:link:hover img, :visited:hover img { border-color: red; }


Thanks, I'll give that a go.

--
Erik Harris n$wsr$ader@$harrishom$.com
AIM: KngFuJoe http://www.eharrishome.com
Chinese-Indonesian MA Club http://www.eharrishome.com/cimac/

The above email address is obfuscated to try to prevent SPAM.
Replace each dollar sign with an "e" for the correct address.
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
See this corrective patch for Microsoft Internet Explorer Roberto Console Subjects 0 06-26-2007 10:52 AM
FWD: Try on this critical package for Internet Explorer lillian Console Subjects 0 06-26-2007 10:42 AM
Internet Explorer keeps crushing Aviel Zwebner Operating Systems And Software 4 05-29-2007 12:54 AM
Internet Explorer 7 Released Beauregard T. Shagnasty Website Reviews And Website Questions 0 05-28-2007 12:43 AM
Internet Explorer 7.0 Beta 3 clarise Operating Systems And Software 1 07-30-2006 2:40 AM


Featured Websites




All times are GMT +1. The time now is 12:19 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98