For some reason, position:absolute works where position:fixed does not. When I use postion: absolute, my div (called "chatBox") displays with the proper margins. When I use position: fixed, my div just appears in the top left corner.
Here is the page in question, with a lot of the code cleaned up for easy review: http://www.mytrafficman.net/index9.php
I need position:fixed to work!
Any ideas?
Thanks!
You need to specify a doctype.
At the top of the page type in <!doctype html>
and it will start working in IE as well.
For more info on doctypes refer to this page
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.