- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Basically, I have something like this:
HTML:
Some PHP code
Print Button
Some options
Some data
In the CSS, the #print p tag has some hover affects applied. It works really well and looks very nice in Firefox & Chrome:
However, when you hover over anything that has the :hover pseudo-selector, you get this:
I can’t explain it, does anyone know what it is?
What is the :hover css?
If the problem is occurring in IE6, it’s because the “:hover” pseudo-selector was not supported. Honestly, I wouldn’t bother if this is the case because of the IE6 auto-updating announcement (ref).
If the problem is occurring in a modern browser, then it would help if you shared more of your css as Noahgelman asked; because I’m guessing it could be related to using ID’s, which should be unique, instead of classes on those elements.
border: 1px solid #938b4a;
cursor: pointer;
color: #fff;
Put the portion and print p tags in a div and give it some height.
Do you have a link to the site?