CSS hack is working in current versions of Safari, and only under Windows?

0 like 0 dislike
30 views
A pleasant time of day.

Faced with bad behavior button in Safari under Windows.

(Problems with reset of the default styles, marging, padding etc.)

Results in their losing I need the pixel height.

Not that it was the end of the world... but I want "that would be all."

Could you tell me the CSS hack is working in current versions of Safari, and only on Windows.
by | 30 views

4 Answers

0 like 0 dislike
Can try it: rafael.adm.br/css_browser_selector/
JavaScript, of course, but it seems to be specifically for use version hacks no =\\ a Engine is the same that is used under Windows, under os x.
by
0 like 0 dislike
How to use jQuery.browser
but!
If the third Safari under Windows this happens, it should happen in the third Safari on the Mac. Therefore you need a hack ONLY for Safari third, and then maybe will help this or a script:
\r
isSafari3 = false; if(window.devicePixelRatio) isSafari3 = true; 
by
0 like 0 dislike
Display by default, a regular button, but in fact the availability replace the DOM with JavaScript to arbitrarily difficult (and cross-browser) a stylized link with the event handler onclick.
by
0 like 0 dislike
If you need the same button / input[type="submit"], propose the following: *{margin:0;padding:0} button::-moz-focus-inner,input[type="button"]::-moz-focus-inner,input[type="submit"]::-moz-focus-inner{border:none;} /* solve the height issues in Firefox, removing the extra border inside the button */ button,input[type="submit"]{height:24px;border-width:1px;background:#f0f0f0;padding:0 15px;} /* turns a classic button, but it will be the same everywhere */ 
by

Related questions

110,608 questions
257,186 answers
0 comments
28,868 users