I need to adjust the top absolute position of a div on page load, depending on browser height. But my code does not work, despite I got parts of it together from several stackoverflow posts. But I am not a programmer though. The code looks like this:

```
<script type="text/javascript"> /* place title higher for small screen */
window_size = $(window).height();
$(window).load(function() {
if(window_size < 800) {
     $('#frontbildtitle').css('top': 100);
     }
});
</script>

```

What did I do wrong here?