cross-browser

css transform + width + left + top transition jump on safari browser

我们两清 提交于 2020-01-06 05:50:08
问题 I have a transition implemented with this code: h1 { position: absolute; z-index: 2; line-height: 1; font-size: 8em; transition: all 10s; pointer-events: none; font-weight: 600; width: 800px; font-family: 'Crimson Text', serif; margin: 0; top: 50%; left: 50%; transform: translate(-50%, -50%); &.top-left { top: 0%; left: 0%; transform: translate(0%, 0%); width: 300px; font-size: 3em; } And it doesn't work as needed on Safari. I tried to do scale animation instead but it has the same effect.

fonts are displaying different in chrome / firefox

守給你的承諾、 提交于 2020-01-06 03:37:15
问题 Every One. I am getting issues in displaying my page in different browsers. Here i am using "Myrid Set Pro" font. I am getting correctly in chrome. but not in firefox. I am attaching those files. Here first one is preview in Chrome. And second one is Preview in Firefox. I tried text-rendering also. But no Use text-rendering: optimizelegibility; 回答1: Currently, there is no consensus on this topic. Shamefully, there are lots of tricks but no specific solutions for this issue. The problem is,

How to Scroll an iFrame using javascript

左心房为你撑大大i 提交于 2020-01-05 15:26:34
问题 I have several iFrames that load an external webpage, although only 1 appears at a time, hence all have the id="iFrame" I want to add to buttons (not the scrollbar) so the user can scroll down or up by pressing them, and I am trying to do this using javascript but so far I've been unsuccessful, I've read some posts here and tried those answers but so far no luck. I have also tried: var newFrame = document.getElementsByTagName('iframe'); if(typeof newFrame !== 'undefined'){ newFrame

How to embded a SWF on a HTML page?

社会主义新天地 提交于 2020-01-05 15:19:34
问题 I am trying for a while now to display correctly a SWF project in a HTML file with good integration in all browser. The SWF is there : http://bitbucket.org/natim/cip-qcu-editor/raw/4746bbb86427/qcu/swf/quiz.swf And I tried using this method : http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml and this one : http://www.bobbyvandersluis.com/swfobject/generator/index.html without success. Actually it works but not with Firefox 3.6 that doesn't start the animation. Do you have any

How to embded a SWF on a HTML page?

北慕城南 提交于 2020-01-05 15:18:24
问题 I am trying for a while now to display correctly a SWF project in a HTML file with good integration in all browser. The SWF is there : http://bitbucket.org/natim/cip-qcu-editor/raw/4746bbb86427/qcu/swf/quiz.swf And I tried using this method : http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml and this one : http://www.bobbyvandersluis.com/swfobject/generator/index.html without success. Actually it works but not with Firefox 3.6 that doesn't start the animation. Do you have any

How to detect .NET framework installed in a web page (pure HTML or PHP)

眉间皱痕 提交于 2020-01-05 12:56:33
问题 I need to display additional information on a web page (PHP) if one of the following criteria is met: .NET Framework Installed on the client machine in lower than 3.5 Impossible to determine if .NET Framework 3.5 is installed or not on the client machine I know that some browser (if not only one, IE) is sending that information in his tag. Can any of you provide me with his suggestions ? Website is built in PHP. Thanks! EDIT: Proposed answers are incomplete and/or don't provide me with a

<button> in IE7

偶尔善良 提交于 2020-01-05 10:36:21
问题 I tried a few simple jQuery manipulation on <button> tags but, for some reasons, didn't work on IE7. <!-- HTML --> <button class="button">Hello</button> // jQuery, using v1.4.4 $('button').html('Hello World!'); // Works on Firefox and IE7. $('button').addClass('another-class'); // Works on Firefox; *not* on IE7. $('button').wrapInner('<span></span>'); // Works on Firefox; *not* on IE7. Does anyone have any clues about this? 回答1: The button tag isn't fully supported on IE6 and IE7. It isn't

<button> in IE7

六眼飞鱼酱① 提交于 2020-01-05 10:34:52
问题 I tried a few simple jQuery manipulation on <button> tags but, for some reasons, didn't work on IE7. <!-- HTML --> <button class="button">Hello</button> // jQuery, using v1.4.4 $('button').html('Hello World!'); // Works on Firefox and IE7. $('button').addClass('another-class'); // Works on Firefox; *not* on IE7. $('button').wrapInner('<span></span>'); // Works on Firefox; *not* on IE7. Does anyone have any clues about this? 回答1: The button tag isn't fully supported on IE6 and IE7. It isn't

Can't access form element in IE because it 'is undefined'. Works ok in FF and Chrome

回眸只為那壹抹淺笑 提交于 2020-01-05 09:15:14
问题 It's strange because I only get 1 error in IE: 'sTime is undefined'. sTime is the ID of one of the many input elements in my form. Everything works fine in Chrome and FF. Here's a link to the code: http://la.truxmap.com/sched.html and the form html: <form id="addNewTruck" class='updateschedule' action="javascript:sub(sTime.value, eTime.value, lat.value, lng.value, street.value);"> <b style="color:green;">Opening at: </b> <input id="sTime" name="sTime" title="Opening time" value="Click to set

jQuery Accordion – Functioning In IE, Not FF

风格不统一 提交于 2020-01-05 08:22:06
问题 I have created a simple accordion in my products.html page: <!doctype html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-gb"> <meta charset="utf-8" /> <script type="text/javascript" src="javascript/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="javascript/jquery-ui-1.10.1.custom.min.js"></script> <script type="text/javascript" src="javascript/redesign_js.js"></script> <link