Forums
View unanswered posts | View active topics It is currently Sun Apr 20, 2014 10:34 pm



Reply to topic  [ 4 posts ] 
 CSS3 only works after refresh by url bar 
Author Message

Joined: Mon Nov 21, 2011 2:32 pm
Posts: 2
Post CSS3 only works after refresh by url bar
Hi,

I really hope that somebody can help me with a strange problem.
When I enter my site www.krydsord.net from IE8, the CSS3 does not work.
However, when I go to the url bar in the top and press enter, then the shadows appear.
If I refresh the page by F5, then it disappear again.

What is going on?

Thanks...


Mon Nov 21, 2011 2:36 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: CSS3 only works after refresh by url bar
This issue has popped up for a few users, and I'm still not sure of the cause. It's not a PIE-specific issue, rather some quirk in how IE applies behaviors in general. In most cases it has helped to move the stylesheet references to as early in the document as possible, e.g. before any scripts.

Hope that helps.


Mon Nov 21, 2011 3:59 pm
Profile

Joined: Mon Nov 21, 2011 2:32 pm
Posts: 2
Post Re: CSS3 only works after refresh by url bar
Thanks...

After a bit more work, I have figured out that if I delete a specific part of my jQuery js-code, then it works.
I have to delete this part:
Code:
      // Dialog         
      $('#dialog').dialog({
         autoOpen: false,
         width: 700,
         modal: true,
         close: clearAdd,
         buttons: {
            "Luk": function() {
               $(this).dialog("close");
            }
         }
      });


How can I fix this?
I tried to move the css-link to the top of the page, but that did not help.

I found this post
http://css3pie.com/forum/viewtopic.php?f=3&t=538

After reading this I tried to remove the content of the jQuery dialog. That also works.
So apparently the problem is that the content of the dialog can not contain css3 styled content.

Hope to get more help on this issue...thanks...


Tue Nov 22, 2011 12:34 am
Profile

Joined: Mon Dec 10, 2012 3:32 pm
Posts: 1
Post Re: CSS3 only works after refresh by url bar
I had the same problem on www.krydsord.dk, but I also figured - after reading this post - that the problem seemed that I needed to delete parts of my jquery js-code.

Thanks a lot for the help from this forum, it's really appreciated.

Nicolai / Krydsord.dk


Mon Dec 10, 2012 3:36 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 3 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.