html - div aligned to the right: incorrect scrollbar -


i have markup this:

<div id="maindiv" style="position: fixed; width: 100%; height: 100%;">     <div id="log" style="float: right; max-height:100%; overflow: scroll;">         (some filling text)     </div> </div> 

it works ok, except fact half of log's vertical scrollbar shown (ff, chrome).
ideas how fix this?

this because body has margin. remove , should work.

body {     margin:0; } 

here's js bin: http://jsbin.com/ajicox/1/


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -