Replies

Jul 17, 2013 12 years ago
Organ Donor
BadWidget
User Avatar
Serneria

I'm currently working on a pet profile with various hovers. Everything works fine until I get to the div's to cover the scrollbars. For some reason they hover off and on when the Pet Description does as well. The weird thing is, one of the scrobars does NOT have this problem, but the other scrollbar and the image overlay i'm using, do have the problem.

Jul 17, 2013 12 years ago
Adventure Captain
sonata
User Avatar

Maybe you should include the pet you're having this problem with. ^_^ Figuring out what the issue is cna be quite difficult when you can't see it.

Art by
[tot=sonata]

Jul 17, 2013 12 years ago
Organ Donor
BadWidget
User Avatar
Serneria
Jul 17, 2013 12 years ago
Oh My Shinwa, we thought
Chen
was dead
User Avatar
Nix

first, full opacity should be 1, not 2. That might be what's causing the weird flickering I'm seeing here.

the problem code is this: :hover {opacity: 2;}

pet_desc includes basically everything on the page, including your scrollbar covers. You should probably get rid of this. Instead of using just for your text box, you should make a div inside, so you can specify it in your CSS code - for example

HTML:

TEXT HERE
CSS: {opacity:.5;} :hover{opacity:1}

edit: you also need to close your

tags. ie.

<style> needs to be
<style> ....

otherwise the scrollbar covers will act as if they are inside each other, which is not what you want.

Jul 17, 2013 12 years ago
Organ Donor
BadWidget
User Avatar
Serneria

Omg, you are amazing I've only done pet profiles twice before, so I'm pretty new to all this div stuff, this is super helpful, thank you

Please log in to reply to this topic.