fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <style type="text/css"> #b1{ position:absolute; } </style> <script> function displayResult(){ document.getElementById("b1").style.bottom="100px"; } </script> </head> <body> <input type="button" id="b1" onclick="displayResult()" value="设置底部的位置"> </body> </html>
运行结果