自动调整背景大小和无滚动bg功能。 [英] Auto resizing of a background and a no scroll bg function.
本文介绍了自动调整背景大小和无滚动bg功能。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好。有没有人有一个脚本来执行以下任一操作...使我用于我的网站的背景图像自动调整大小取决于用户的分辨率和/或使图片不会tessalate down这页纸。谢谢。
Hi. Does anyone have a script to do either of the following...making the image I use for my website''s background automatically resize depending on the user''s resolution and/or making the picture where it won''t tessalate down the page. Thanks.
推荐答案
有人知道吗?
将图像放在div或table中,并将该元素的宽度设置为100%
Put the image in a div or table and set the width of that element to 100%
我把bg放在一个表中,但图片保持相同的大小,它否定了无滚动代码。什么是div?
well i put the bg in a table but the picture stays the same size and it negates the no scroll code. also what is a div?
这篇关于自动调整背景大小和无滚动bg功能。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文