Skip to main content

Posts

Showing posts from October, 2013

css hack for safari chrome

Hello everyone,  I’m going to share the code-sample for “ css hack to target ”.  I have an issues to display the log-out popup on-mouse-over on " log-out button" in the different browser (IE, safari and chrome) and we need to fixing using  target specific css. The web-kit browsers are    1. Safari     2. Chrome Table of Contents I have need the target specific CSS for different browsers. CSS class which work on the IE, Firefox. CSS class which “CSS hack to target” Safari and Chrome browser CSS class which ”CSS hack to target” only Safari browser. /*                                  * We hack to Safari and Chrome Webkit-browser targets.  * css hack for chrome and safari. */ Step 1: CSS class which work on the IE, Firefox         .prfl_wrapper         {             position : absolute ;             z-index : 999999 ;             display : block ;             float : left ;             border : 2px solid #ccc ;