【问题标题】:Disable Chrome (Accessibility->Resizing text)禁用 Chrome(辅助功能-> 调整文本大小)
【发布时间】:2014-09-28 13:24:16
【问题描述】:

我有两个问题 这是我的 JS。文件

// JavaScript Document
$(document).ready( function(){
        $(window).height();
        $(window).width();
})

$(document).ready( function(){
		 
		 $(".logo").css("height", ((($(window).height()*37.38)/100)));
		 $(".logo").css("width", "auto");
		 
       
			 
		 $(".immaginefesta").css("height", ((($(window).height()*25)/100)));
		 $(".immaginefesta").css("width", ((($(window).height()*25)/100)));
		 $(".immaginefesta").css("border-radius", ((($(window).height()*40)/100)));
		 
		 
		 $(".testievento").css("font-size", ((($(window).height()*2)/100)));
		 
		  $(".testinavbar").css("font-size", ((($(window).height()*3)/100)));
		  $(".testinavbar").css("margin-left", ((($(window).height()*5)/100)));
	


          $(".titlebar").css("font-size", ((($(window).height()*3)/100)));
		
		 
		 
	
		  
		 
})

$(window).resize( function(){
	
	
		   $(".logo").css("height", ((($(window).height()*37.38)/100)));
		 $(".logo").css("width", "auto");
		 
       
			 
		 $(".immaginefesta").css("height", ((($(window).height()*25)/100)));
		 $(".immaginefesta").css("width", ((($(window).height()*25)/100)));
		 $(".immaginefesta").css("border-radius", ((($(window).height()*40)/100)));
		 
		 
		 $(".testievento").css("font-size", ((($(window).height()*2)/100)));
		 
		  $(".testinavbar").css("font-size", ((($(window).height()*3)/100)));
		  $(".testinavbar").css("margin-left", ((($(window).height()*5)/100)));
	


          $(".titlebar").css("font-size", ((($(window).height()*3)/100)));
		 
		 
})

使用 internet explorer、firefox、safari anche chrome for pc 没有任何问题,但使用 google chrome 我有问题,如果我转到(可访问性,并将调整大小的文本设置为 60%)它看起来很完美,我该如何解决这个问题?

2-当我从 Safari for iphone 的应用程序或 android 保存页面时,有没有办法更改图标?

【问题讨论】:

    标签: javascript css google-chrome


    【解决方案1】:

    这些人找到了 Chrome 可访问性调整大小的解决方案(设置非常高的最大高度),它也对我有用:

    Android Chrome ignoring -webkit-text-size-adjust:none property. Text is being scaled when zoomed out

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-10-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-12
      • 1970-01-01
      相关资源
      最近更新 更多