I've tried using css positioning which works, but the page then looks different in different resolutions which I can't have.
im not really sure what you're trying to do but you can normally get pretty consistent placement (in varying width screens/viewports) if you position a div 50% from the left and then offset it with a negative margin that is half its width - something like;
Code:
.myDiv {
position:absolute;
z-index:9999;
top:100px;
left:50%;
margin-left:-150px;
width:300px;
}
(untested - iPhone)
The above sample puts the div in the middle but you can adjust the negative margin to move it further left or further right.
Bookmarks