html - pseudo element css tooltip not working in ie10 -


My website is using CSS to show tooltips. I use pseudo classes to get tooltip functionality in CSS I am here. The following is the CSS code.

  .tooltip {display: inline; Status: Relative; } .tooltip: Hover: after {background: # 333; Background: RGBA (0,0,0,1); MS-Filters: "ProgID: DXImageTransform.Microsoft.Alpha (Opacity = 0)"; Boundary-radius: 3px; Top: -11px; Color: #fff; Content: Atri (text); Correct: 25px; Padding: 5px 15px 5px 15px; Status: Completed; Z-index: 1000; Width: Auto; Height: auto; } .tooltip: hover: before {border style: solid; Border color: transparent # 333 transparent # 333; Threshold Width: 6px 0px 6px 6px; Top: -5px; material: ""; Correct: 20px; Status: Completed; Z-index: 1000; }   

and the following HTML code is

    

This code is working correctly in 9 or 11, Firefox, Chrome and Safari. But it is not working in IE10 Please suggest where I need to find a solution I tried to change the DOCTYPE but it is not a help.

Here is a tooltip solution for IE5 +, and not to mention other browsers and platforms after this Will be ..: p

css

  #div_toolTip {margin: 100px; } .tooltip {status: relative; / * Anchor * related to spin / text-decoration: none; / * No underlined * / cursor: indicator; / * Make cursor dot *.}. Tollipot Span {/ * Tooltip Main Body * / Status: Absolute; / * AP it * / bottom: 66px; / * Fade In / Out RA * / left: 50%; / * Center tool tool / margin-left: -72px; / * Center tool tool / width: 130px; / * Bottom width * / Opacity: 0; / Wrap the tool in modern browsers * / visibility: hidden; / * Wrap tools in IE * / padding: 10px 5px; / * Padding * / color: #fff; / * Text color * / font: bold 75% / 1.5 aerial, helvetica, non-serif; / * Font * / text-line: center; / * Center text * / pointer-events: none; / * An unexpected tooltip popup / / border-radius for modern browsers: 6px; / * Round corners * / text-shadow: 1 px 1 px 2 px rgba (0, 0, 0, 0.6); / * Text Shadow * / Background: RGB (46, 182, 238); / * IE 6/7/8 * / Background: RGBA (46, 182, 238, .8); / * Modern Browser * / Border: 2px solid RGB (255, 255, 255); / * IE 6/7/8 * / border: 2 px solid RGBA (255, 255, 255, .8); / * Modern browsers * / Box-Shadow: 0 pixels 2 pixels 4px RGBA (0, 0, 0, 0.5); / * Shadow * / -Wbkit-Infection: Easy-to-end all in 0.3; / * Atom Tooltip * / - Mosa-Transition: All 0.3 S-in-Out; / * Atom Tooltip * / -O Transition: All 0.3 S-In-Out; / Atom tooltip * / -Mess-transition: all 0.3 s-in-out; / Atom tooltip * / transition: all 0.3 s-in-out; / Atom Tooltip * /} .tooltip span.dif {/ * Separate width tooltip * / width: 190px; / * Width * / margin-left: -102px; / * Center this * Tollitip duration: first, .tooltip duration: after {/ * down triangle - white border * / material: ''; Add / * html content * / status: absolute; / * AP bottom triangle * / bottom: -13px; / * Position triangle * / left: 50%; / * Center down triangle * / margin-left: -12 pixel; / * Center bottom triangle * / border-left: 12px solid transparent; / * Build triangle bottom / border-right: 12px solid transparent; / * Build down triangle * / border-top: 12px solid RGB (255, 255, 255); / * Build down triangle IE6 / 7/8 * / border-top: 12px solid RGBA (255, 255, 255, .8); / * Build down triangle modern browsers *.}. TollTip span: after {/ top triangle - blue background * / bottom: -10px; / * Position top triangle * / margin-left: -10 pixel; / * Center top triangle * / border width: 10px; / * Build top triangle * / border-top: 10px solid RGB (46, 182, 238); / * Build top triangle IE6 / 7/8 * / border-top: 10px solid RGBA (46, 182, 238, .8); / * Create top triangles with modern browsers.}. Tollipip: Hover span {/ * Tooltip Shows / / Opacity: 1; / * Open tools in modern browsers * / bottom: 44px; / * Fade In / Out End * / Visibility: Visible; / * Open Tool in IE * /} TollTip Span: Hover (Visibility: Hidden; Hide tooltip while running via link in IEEE / Media @ screen and (min-device-width: 320px) and (max-device-width: 768 px) {tooltip span {display: none; } .tooltip: hover span {display: block; }} / * IPad & amp; IPhone simulation: hover * /    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -