CSS3 PIE Forums
http://css3pie.com/forum/

Background positioning issue in IE8
http://css3pie.com/forum/viewtopic.php?f=3&t=3400
Page 1 of 1

Author:  EddyR [ Mon May 12, 2014 8:26 pm ]
Post subject:  Background positioning issue in IE8

Hi,

I'm having issues with the background color position on certain elements. When viewed the background appears slightly offset above the element.

You can have a look here, scroll to the bottom of the page and you'll see 3 social media buttons:

http://socialindex.matterdev3.com/

I've tried for several hours now to fix the issue without any luck so far. If anyone can shed any light on this would very appreciated.

Thanks
Eddy

Author:  jason [ Wed May 14, 2014 9:20 pm ]
Post subject:  Re: Background positioning issue in IE8

I can't tell exactly why it's happening, but this appears to be due to the "* {position:relative}" rule in your stylesheet. This wildcard rule is applying position:relative to some of PIE's own internal rendering elements, which for some reason is causing an extra offset.

You could perhaps try adding a rule to undo the positioning for PIE's elements... something like:

css3-container * {position:static;}

Author:  EddyR [ Wed May 14, 2014 10:16 pm ]
Post subject:  Re: Background positioning issue in IE8

Awesome, thanks! That worked!

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/