in chrome, he's floating about an inch above the bottom of the window
I'm not seeing the character floating higher in the bottom frame, but I do see that your positioning from the top - try positioning him from the bottom instead;
Code:
style="position: absolute; left: 40%; bottom: 0%; right: 2%"
Other tips to help with positioning;
Also, elements have default paddings and margins that are different in different browsers, so try using a CSS reset - the most basic (poor man's) reset is the universal selector reset;
Code:
* { padding:0; margin:0; }
This resets all elements to have 0 margin and padding. If you have lots of elements on your page, it can cause a bit of a slow down while the browser applies it to everything, so for this reason it's not really recommended in CSS circles, although it might be useful for quick prototyping/testing. There are other popular, more optimised resets that you might like to use instead: http://www.cssreset.com/
Also read: What is a CSS reset? and Which CSS reset should I use?
Also try standardising the box model with this CSS;
Code:
*, *:before, *:after { -moz-box-sizing:border-box; box-sizing:border-box; }
This stops accumulative width and padding measurements on all elements - so for example, if you have a 300px box with 25px left and right margin, it stops browsers rendering it at total 350px width (width + padding). With the box-sizing CSS above, the width of the box would be 300px regardless of whatever padding you set inside.
Bookmarks