I’ve tried a workaround to correctly position some images inside a div with a border radius.
I need to move images 1px to left and 1px to top, and I used jQuery .offset() function. It works correctly on firefox, opera and IE, but doesn’t work on chorme.
The code is the following
$(window).load(function(){
// adjust social icons
$("div.nuvola.social img").each(function(){
var tmpOffset = $(this).offset();
tmpOffset.left -= 1;
tmpOffset.top -= 1;
$(this).offset(tmpOffset);
});
});
I uploaded an example in this test page (social icons on the top right)
LINK
Maybe…
http://nieto.hostingplaza.org/cory/css/style.css (line:76-82)
Don’t forget to add “px”;