Forums
View unanswered posts | View active topics It is currently Sat Dec 16, 2017 10:14 pm



Reply to topic  [ 1 post ] 
 PIE makes border-radius elements disappear 
Author Message

Joined: Fri Jul 01, 2011 1:58 am
Posts: 1
Post PIE makes border-radius elements disappear
I've installed PIE to my site...

http://www.textbookcentral.com.au/26/un ... ales/list/

I have
Code:
    <style type="text/css">
      body * { behavior:url({{STATIC_URL}}central/css/PIE.htc); } /* for IE */
    </style>


in the head of the html. IE detects this .htc correctly, but then all the elements that have border-radius disappears on IE!

I just read attributes like border-topleft-radius are not detected... but even the elements that use border-radius disappear!

Is it because the behavior definition is separate from the css file?

I put it in a separate file because I have several deployments of the site (for deployment and production) and the path to the static files change depending on which server it is deployed to.

So I can't hard code the absolute path into the css if I want to keep it as a static file.

EDIT:

I've moved PIE.htc to root for this deployment. http://oz788.o1.gondor.io/26/university ... ales/list/
Code:
body { margin: 0; padding: 0; background-color: #1f1f1f;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  behavior:url(/PIE.htc); position:relative; z-index:0;
}

But still no luck, border-radius elements still become invisible.

EDIT:

Found out what is wrong.

I had to add position:relative, as well as....
I had "visible:hidden" set for the side bar, then in the javascript, i set visibility of the element back to visible when document finishes loading. Apparently pie isn't able to make the entire thing visible again until you move the mouse over it.


Fri Jul 01, 2011 2:01 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

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