krazybltch
New Member
I am not able to get rid of dotted outline in IE7+. I have added \[code\]outline:none; border:none\[/code\] but still it is not working in any version of IE.I have created fiddle, it works fine when I run the fiddle age in IE but when I paste the same code in HTML page then it is not working. Here is the fiddle http://jsfiddle.net/6Ayek/4/\[code\]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Photos Tab</title><style type="text/css">/* Generated by F12 developer tools. This might not be an accurate representation of the original source file */#contentContainer { BACKGROUND-IMAGE: url(/s/store/-1/common/gb/Media-Console/popup_bg.jpg); WIDTH: 636px; HEIGHT: 460px; OVERFLOW: auto}#leftNavigation { PADDING-LEFT: 15px; WIDTH: 125px; PADDING-RIGHT: 10px; FONT-FAMILY: Arial, Helvetica, sans-serif; FLOAT: left; FONT-SIZE: 12px}#leftNavigation ul {PADDING-BOTTOM: 0px; LIST-STYLE-TYPE: none; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px}#leftNavigation ul li { WIDTH: 125px; DISPLAY: block; outline:none !important;}#leftNavigation ul li a {LINE-HEIGHT: 30px; DISPLAY: block; FONT-FAMILY: Arial, Helvetica, sans-serif; COLOR: #2c2f30; FONT-SIZE: 12px;; TEXT-DECORATION: none; outline:none !important;}#leftNavigation ul li a:visited { COLOR: #2c2f30; outline:none !important; border:none}#leftNavigation ul li a:hover { COLOR: #000000; outline:none !important; border:none}.currentSelection { BORDER-BOTTOM: #0076a3 1px solid; BORDER-LEFT: #0076a3 1px solid; LINE-HEIGHT: 25px; OUTLINE-STYLE: none; OUTLINE-COLOR: invert; PADDING-LEFT: 10px; OUTLINE-WIDTH: medium; DISPLAY: inline-block; BACKGROUND: #0095cd; BORDER-TOP: #0076a3 1px solid; FONT-WEIGHT: bold; BORDER-RIGHT: #0076a3 1px solid; TEXT-DECORATION: none; BEHAVIOR: url('/s/store/-1/common/gb/Media-Console/PIE.htc'); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } </style> </head> <body><div id="leftNavigation"> <ul> <li><a href="http://stackoverflow.com/questions/12741682/#" style="color: white; " class="currentSelection">test</a></li> <li><a href="http://stackoverflow.com/questions/12741682/#" style="color: black; ">test 2</a></li> <li><a href="http://stackoverflow.com/questions/12741682/#" style="color: black; ">test 2</a></li> <li><a href="http://stackoverflow.com/questions/12741682/#" style="color: black; ">test 2</a></li> <li><a href="http://stackoverflow.com/questions/12741682/#" style="color: black; ">test 2</a></li> </ul></div></body> </html>\[/code\]