Forums
|
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
IE8 Bug position rounded corners when display:block/none
| Author |
Message |
|
piretrus
Joined: Thu Jan 20, 2011 8:42 am Posts: 40
|
 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 |
|
 |
|
piretrus
Joined: Thu Jan 20, 2011 8:42 am Posts: 40
|
 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 |
|
 |
|
webaware
Joined: Mon Apr 11, 2011 4:54 pm Posts: 53
|
 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 |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: Bing [Bot] and 5 guests |
|
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
|
|