缩放或窗口大小调整问题 [英] zoom or window resize issue
本文介绍了缩放或窗口大小调整问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我无法确定如何进行简单"布局修复:
如果我有三个div,每个包含图像.
Hi there i cant figure how to do a "simple" layout fix:
if i have three div''s containing image each one.
<div1> <img src=""> </div>
<div2> <img src=""> </div>
<div3> <img src=""> </div>
我将它们排成一行,所以现在我可以看到了:
i have in lined them to one row so now i can see :
<div1><div2><div3>
如果我放大页面或调整大小,这就是我看到的
if i zoom in the page or re size it this is what i see
<div1>
<div2>
<div3>
我的问题是如何防止缩放" 调整大小"可更改网站布局.
我的目标是例如:(从右侧缩小"页面后)
my question is how can i prevent the "zoom" & "re-size" changing the site layout.
my goal is that for example: (after "shrink" the page from the right)
<div1><div2><d
我希望我已经正确解释了
i hope i have explained it right
thanks A LOT.
推荐答案
您将不得不使用窗口的resize事件来处理此问题.请查看以下链接.
http://unstoppablerobotninja.com/entry/fluid-images [ http://api.jquery.com/resize/ [
You will have to use the window''s resize event to deal with this. Check out the following links.
http://unstoppablerobotninja.com/entry/fluid-images[^]
and
http://api.jquery.com/resize/[^]
这篇关于缩放或窗口大小调整问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文