Forums
View unanswered posts | View active topics It is currently Thu Oct 02, 2014 12:22 am



Reply to topic  [ 3 posts ] 
 Weird behaviour with IE8 + css3pie beta3 
Author Message

Joined: Fri Dec 10, 2010 9:37 am
Posts: 2
Post Weird behaviour with IE8 + css3pie beta3
Hello,

I am new to css3pie but I managed to make it worked with IE7 quite easily.
I try to do so with IE8 but it seems not as easy as I think :cry:

Working context :
I have a list (ul + li) that I display as tabs.
Each time you click on a tab, it displays the associated content.

This works quite well until I introduce css3pie: the selected tab slips down but I can see the rounded corners :roll:
But what is strange is that if I scroll the page up or down, then the tab seems to be refreshed
and then is well displayed :o

I tried the common solutions recommanded (position:relative, z-index:0, refresh, ...) but cannot figure out a solution.

I attach a simple testcase.

If you have any clue to help me understand what happens.

Thanks for your time


Attachments:
File comment: test case for IE 8 weird behaviour
test.zip [40.82 KiB]
Downloaded 177 times
Fri Dec 10, 2010 9:59 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1443
Post Re: Weird behaviour with IE8 + css3pie beta3
It seems that for some reason PIE isn't picking up the change in position caused by the changes in padding-top on the links. It's likely because they are inline elements, and the inline box model is a tricky thing. If I change the links in your example to display:block and then set a.current to have a negative margin-top, it picks up the position changes as expected.


Sat Dec 11, 2010 4:05 pm
Profile

Joined: Fri Dec 10, 2010 9:37 am
Posts: 2
Post Re: Weird behaviour with IE8 + css3pie beta3
Hello Jason,

Thanks for the reply and the suggested solution.

I will try it and see if I can integrate the changes in my real application.


Wed Dec 15, 2010 3:59 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 4 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

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