在图像定位方面需要帮助 [英] Need help with image positioning
问题描述
问候.自从我上次尝试创建网站以来已经有好几年了,但是现在我有点需要,但我失败了.不过,这似乎非常容易,我在photoshop中创建了整个内容-在此处.
基本上,我唯一需要做的就是使这四个中心图像可点击.我可以使用地图和< area>来做到这一点,但是当我将背景尺寸设置为100%以适合浏览器时,我还没有找到一种使区域动态调整大小的方法.
因此,我可以将其保留为完整分辨率,并让人们四处滚动.不过,我不想这样做.我尝试将四个图像从背景上剪切下来,并分别放置为独立的< img> ;,但是我无法实现它们在背景下动态移动和调整大小.
还有给我的建议吗?预先感谢.
Greetings. It has been years since I last tried to create a website, but now I kind of need to and I fail miserably. It would seem to be very easy though, I created the whole thing in photoshop - here it is.
Basically, the only thing I need to do is to make these four center images clickable. I can do that with a map and <area>, but I have not found a way to make the areas get dynamically resized when I make the background-size 100% for it to fit the browser.
So I can leave it full-res and let people scroll around. I don''t want to do that, though. I tried cutting the four images off the background, and place them back as separate <img>, but I cannot achieve for them to dynamically move and resize with the background.
And advice for me? Thanks in advance.
推荐答案
尝试:
http://www.alphadevx.com/a/48-Dynamic-Image-Resizing [ ^ ]
Try:
http://www.alphadevx.com/a/48-Dynamic-Image-Resizing[^]
这篇关于在图像定位方面需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!