In IE& and IE8 , when i click on a hover over link , it just flashes and then disappears . It is not even staying for a second . Can someone help and suggest a fix ?
if you using anchor within li element you should have them both with, if it's only a link give it display, height and width properties via CSS.
display:block;
height:xpx;
width:xpx;
This is happens because you probably do not hover over text inside of anchor but somewhere near while IE kind of browsers render anchor which has :hover pseudo class only on text once there is no size and display properties.
Related
I've been searching all over for a resolution to this issue, but for the life of me I can't find anything.
Essentially, on every hyperlink on a page that self references (some are collapsible panel extenders, others use JS to open a popup, etc.) the font changes for the hyperlink after it is clicked. This is only occurring in IE8.
Example:
(Apparently I can't post images, so here's some links to the images. You may want to download and open them side-by-side as the difference is not extremely clear when looking at them individually.)
Pre-Click Hyperlink Image
Post-Click Hyperlink Image
The font does not return to normal once the element loses the focus, nor does the font become distorted if you give focus to the element via keyboard navigation so I don't think that it is related to selecting the hyperlink.
Further, hyperlinks with an href that doesn't self-reference do not change fonts when clicked.
I also don't think that it is the a:visited CSS as refreshing the page causes the font to go back to normal.
Has anyone ever experienced this? I can't seem to find anything that is related to this issue. Any help is appreciated.
I have tried to change the default arrow in drop down.
By adding this in css,
background-image:url("downArrow.jpg") no-repeat scroll right center transparent;
but the default arrow of drop down is not get replace in firefox, but in chrome its coming correctly.
How to fix this in firefox. Thanks in advance.
<SELECT> elements are not rendered by HTML, they're rendered by the browser/OS and styling them is quite limited. You cannot replace the arrow. All you can do is place an element on top of it and use script to fire the click as if it were part of the real drop-down.
I have a page with a couple DIVs with contents loaded via ajax. After the contents loaded, the page doesn't dislay the scrollbar to show all the DIV contents (I can't scroll down to see the rest of the content.) I tried with Firefox and IE. All have the same problem. Is there away I can fix this?
Did you try to set style on the div or class?
overflow: auto;
Without seeing the HTML and CSS, all I can offer is a few suggestions:
Maybe you have unclosed tags.
The div style might prevent correct display. What's the overflow set to?
If you're loading into a div that's in a document in an iframe, you get this kind of stuff a lot.
Can you scroll around the div with TAB or by mouse-selecting its contents? Maybe the content isn't even being loaded fully.
In CSS I had the position of the div as fixed
div.query_res{
position:fixed;
top:40px;
left:445px;
}
changed it to
div.query_res{
position:relative;
top:40px;
left:445px;
}
And all was good.
This is quite old, but just in case some else gets here, as me, you have to redraw the page, as the calculations to add a scroll has been already made. So you have to tell the browser to redraw as the content size has changed. You can test if this is the case by changing the size of the window, if doing so gets back the scroll bar, then redraw after generating the DIV or whatever you are generating.
I'm having this issue in IE7 with my drop down. Whenever I hover over my dropdown it goes up as soon as i hover over an element on top of the content. http://www.legrandconfectionary.com/gift-boxes/
I thought a position: relative on the header would solve the problem but on certain pages like the truffle flavors I have a tooltip effect that goes under the nav if done so. I'd really appreciate some help on this. Thanks!
There are several ways that you can fix this. Here's two:
Set the a tag to display: block, and then make your hover events based on the a instead of the li.
or
Specify a height other than auto or 100% for the li's
I fixed the way the content was being pushed down with using the +position:absolute !important; hack that i've found. But now my question is no matter how i style the top (in the jqmWindow in IE it still seems to popup the window in the middle of the page. In FF however i've gotten the page to be more towards the top. The reason why i need to move this jqm window is that there is more info on the div (jqm) then will fit on the screen. Is there a way just to make the window a certain size and have scroll bars on the side if the content is larger? Thanks for the help.
you should be able to wrap the contents of the window in a div and set it's height, as well as overflow
div.wrap{
height:220px;
overflow:scroll;
}