Forums
View unanswered posts | View active topics It is currently Fri Nov 28, 2014 4:45 pm



Reply to topic  [ 3 posts ] 
 IE8 Bug position rounded corners when display:block/none 
Author Message

Joined: Thu Jan 20, 2011 8:42 am
Posts: 40
Post IE8 Bug position rounded corners when display:block/none
Hi,

When loading the page, I have a div with 3 divs inside: "A", "B" and "C". Above this 3 divs i have some code html (<h1>,<p>...). At first "A" is display: block and the rest in display: none. When I press the "B" button, this action hides div "A" and shows div "B". In this process, in e8, "B" shows the rounded edges above the content of the div, where it should be, as if the items that are below it, doesn't exist.

All divs have position:relative.

If you do scrollTop or scrollBottom, the div position fix itself.

Any suggestion?

Thanks!!


Mon Jul 02, 2012 10:10 am
Profile

Joined: Thu Jan 20, 2011 8:42 am
Posts: 40
Post Re: IE8 Bug position rounded corners when display:block/none
I've been seeing that in IE8 css the div-container, puts a top: 0, miscalculates the right margin, respecting the content above it. If you scroll is fixed.

Any solution?


Tue Jul 03, 2012 2:02 am
Profile

Joined: Mon Apr 11, 2011 4:54 pm
Posts: 53
Post Re: IE8 Bug position rounded corners when display:block/none
When you unhide elements, fire off an event to tell PIE. Scrolling tells PIE that something has changed, which is why it fixes things. You need to tell PIE yourself when unhiding elements. See here for how.


Wed Jul 04, 2012 4:25 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.