Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Problem with absolute position div not cross browser


Kickedout - 11:50 pm on Jun 24, 2011 (gmt 0)


I have a simple div with text in it.

<div id=bla style="position:absolute; z-index:1; overflow: visible; left: 285px; top: 31px; width:auto; height: 21px;">

I expected my first letter of text into that div be exactly at 285 px from left border. Since I do have other elements below I need it to be acurrate.

But the case is that looks fine in Firefox 4 and shifted to the right in IE8...

(Like 8 pixels aprox).


How do I fix it?
Is it a problem of "browsers margins" I can reset to 0?....


Thread source:: http://www.webmasterworld.com/css/4330831.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com