如何为FF和IE设置不同的div的max -width。 [英] how to set the max -width for the same div differently for FF and IE .
本文介绍了如何为FF和IE设置不同的div的max -width。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在IE和FF中遇到问题,我想为IE和FF设置不同的最大宽度单独,因为他们都采取不同的最大宽度。
假设,我已将最大宽度设置为260px,这在FF中完美运行但在IE中它变得非常小。
请帮助我。
Hi ,
I am facing issue in IE and FF , I want to set different max-width for IE and FF individually as they both are taking different max-width.
Suppose , I have set the max width as 260px which is working perfect in FF but in IE it becomes very small .
Please help me for the same .
推荐答案
尝试以百分比设置宽度,例如100%的屏幕或70%
try setting width in percentage e.g. 100% of screen or 70%
<div width="100%"></div>
快乐编码!
:)
Happy Coding!
:)
这篇关于如何为FF和IE设置不同的div的max -width。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文