[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    Bug#33129: hovers don't work when position:relative; in css
From:       mortallic () multiweb ! nl
Date:       2001-09-30 16:26:14
[Download RAW message or body]

Package: khtml
Version: KDE 2.2.1 
Severity: normal
Installed from:    Compiled From Sources
Compiler:          gcc-2.95.3
OS:                Linux
OS/Compiler notes: Linux From Scratch system, using glibc 2.2.3.

I create some text, and use <A href="link.php" class="some-link">link</A>

the .some-link looks like this:

.some-link{
	position: relative;
	color: #000;
}

As you can see, this baby is relative. Now when i use .some-link:hover {
	color: #fff;
}
to create a nice "mouseover" effect, this effect is simply ignored.

When i change the "position:" to absolute, it works fine again.

So I think that the engine doesn't know the position of the text when "relative" is \
being used, and thus can't monitor mouse-overs.

(Submitted via bugs.kde.org)

_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic