DarkxPunk Posted April 14, 2014 Share Posted April 14, 2014 Attached will be an image of this odd dotted line that appears on my site using IE. I have tested other sites, and other browsers with no issue. It only appears when I scroll down, and it stars where the original viewpoint ends... Any ideas? Thanks, Michael Link to comment Share on other sites More sharing options...
Ingolme Posted April 20, 2014 Share Posted April 20, 2014 It looks like you have an element that can be focused wrapped around your page. Check for unclosed <a> elements or something like that. Link to comment Share on other sites More sharing options...
DarkxPunk Posted April 20, 2014 Author Share Posted April 20, 2014 No open a tags, it happens any time I select a div too while using ie. No other browser. It is so confusing. Link to comment Share on other sites More sharing options...
Ingolme Posted April 20, 2014 Share Posted April 20, 2014 An element is being focused. Does the <div> have an event handler attached to it? Link to comment Share on other sites More sharing options...
DarkxPunk Posted April 21, 2014 Author Share Posted April 21, 2014 No, but it seems to be every div… Why IE and not any other browser? It's even only the newer IEs (9+ I did more checking). Link to comment Share on other sites More sharing options...
Ingolme Posted April 21, 2014 Share Posted April 21, 2014 Do the <html> or <body> elements have event listeners or tabindex attributes? Link to comment Share on other sites More sharing options...
DarkxPunk Posted April 21, 2014 Author Share Posted April 21, 2014 Nope... Honestly its a static page for the most part with everything loaded using PHP... No odd css. Should I post the css? Link to comment Share on other sites More sharing options...
dsonesuk Posted April 22, 2014 Share Posted April 22, 2014 Seems to be this line in reset.css :focus { outline: thin dotted invert } because its set for all elements, IE in its usual stupid manner believes its should it seems highlight the body/html elements with this outline. Link to comment Share on other sites More sharing options...
DarkxPunk Posted April 24, 2014 Author Share Posted April 24, 2014 I have not done the testing yet, but I suppose that makes sense. What I don't understand is how :focus is set for all elements? Would it not have to be *:focus to be set for all elements? Thanks for any info, Michael Link to comment Share on other sites More sharing options...
Ingolme Posted April 24, 2014 Share Posted April 24, 2014 The asterisk isn't necessary. :focus will target all elements that are focused. The same as you don't need *.classname to point to all elements of a particular class. Link to comment Share on other sites More sharing options...
DarkxPunk Posted April 24, 2014 Author Share Posted April 24, 2014 Ah, well good to know for the future. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now