绝对定位 [英] absolute positioning

查看:106
本文介绍了绝对定位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

展开 | 选择 | Wrap | 行号

推荐答案

没有看到标记的其余部分我不知道这是否适用于但是让我知道:
Without seeing the rest of the markup I don''t know if this will work for you but let me know:
展开 | 选择 | Wrap | 行号


这不是工作,当我在我的计算机上更改分辨率或取消最大化窗口时,它将div移动到它应该的位置,因为从浏览器的左上角它不是与之前div相同的PX。 />

你不想看到标记的其余部分:P


我只需要一个非绝对位置的方法来获得这个div不要在页面上移动东西并覆盖我放置它的所有内容。
this does not work, when i change the resolution on my computer or unmaximize the window it moves the div from where its supposed to be because from the top left corner of the browser it is not the same PX as before to where the div should be.

you don''t want to see the rest of the markup :P

I just need a way other than position absolute to get this div not to shift things around on the page and overlay everything where i put it.


下面是测试页面的链接 - [链接在海报请求中删除]

在第1280/1024号决议中浏览器最大化


在搜索左侧开始输入猴子时div会弹出一些自动完成选项。这个洗礼看起来很好吗?正确....更改分辨率或取消最大化窗口。


- 编辑:该页面尚未在firefox中测试过,如果出现任何问题,我会为firefox修复它定位工作正常 -
Heres a link to the test page - [link removed at posters request]
at resolution 1280/1024 with browser maximized

in the search on the left start typing monkey the div will popup with some autocomplete options. Looks fine at this reslution? right.... change resolutions or unmaximize the window.

-- edit: The page has not yet been tested in firefox, Will fix it for firefox if anything is wrong after i get the positioning to work correctly --


这篇关于绝对定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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