如何在整个浏览器中保持徽标大小相同 [英] how to keep logo same size throughout browsers

查看:117
本文介绍了如何在整个浏览器中保持徽标大小相同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在一个网站上出现了一个小问题,该徽标可以正确显示在Google chrome中,但是在IE 9中打开该页面后,该徽标变大并弄乱了整个页面的布局,有一种方法可以保持所有浏览器中的图像尺寸

任何帮助将不胜感激
wes
谢谢

Hi all, got a slight problem i got a logo on a site that displays correctly in google chrome but soon as the page open in IE 9 the logo becomes large and messes up the whole page layout is there a way to keep the image size throughout all browsers

any help would be gratefull
wes
thanks

推荐答案

提供图像控件的高度和宽度(或)为在布局中显示徽标保留的尺寸是多少,请调整徽标图像的大小,以使尺寸(宽度,height).
Give your image controls Height and width (or) Whatever the size your are reserved for displaying logo in your layout, resize the logo image that much dimension(width,height).


图片的宽度和高度不应以%为单位,必须以像素为单位
The width and height of your image should not be in % you must make it in pixls


这篇关于如何在整个浏览器中保持徽标大小相同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆