简体   繁体   中英

How do I create the a web form which is always visible in the bottom of the page?

Please have a look at the following page:

http://www.eddale.co/general/on-reception-the-iphone-4-hysteria-the-real-lifelab-test-conundrum

I want to create a similar form like the one always sticking to the bottom of the page in the link above ...

how do i do this?

If you don't care about support for IE6 you can position it fixed at the bottom with css eg

#element_to_position {position: fixed; left:0;bottom:0;width:100%;height:20px;}

If you care you must tweak it with a fake body tag. Eg see this http://ryanfait.com/position-fixed-ie6/

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM