зеркало из https://github.com/mozilla/gecko-dev.git
10 строки
180 B
HTML
10 строки
180 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<body>
|
||
|
<div style="position:fixed; top:100px;" id="d">hello</div>
|
||
|
<script>
|
||
|
document.write(document.getElementById("d").offsetTop);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|