css - Strange Chrome behavior: calculates all margin percentages right except for margin-top! -
when declare style div:
#fbinner{ position: absolute; margin: 11.2% 9.7% 0% 26.4%; width: 63.5%; height: 54.6%; overflow: visible; /*max-height: 190px; max-width: 490px;*/ font-size: 11px; font-family: "lucida grande",tahoma,verdana,arial,sans-serif; color: #fff; /*border: solid 2px gray;*/ }
chrome sets every margin right except of margin top, set smaller in other browsers ... strange, other margins displayed should ...
what reason that? there workaround still uses percentages?
seeing x-browser css question, resetting css styles valuable first step - maybe solution. haven't disclosed html code, can't know other tags or styles affecting #fbinner
in case, here "meyerweb reset" stylesheet: http://meyerweb.com/eric/tools/css/reset/
link topmost in html file. break site, that's thing. @ least should equally broken in browsers now. when you've fixed of page, should work in most/all browsers.
Comments
Post a Comment