Forums
View unanswered posts | View active topics It is currently Fri Aug 01, 2014 4:27 pm



Reply to topic  [ 3 posts ] 
 What am I doing wrong? 
Author Message

Joined: Sat Oct 16, 2010 5:03 pm
Posts: 2
Post What am I doing wrong?
I copied the demo css code from your site but cant get it to work...

Its not my server so Ive tried both the .htc and the .php file and I can access them from typing direct url to them but still no luck.

http://www.prdesign.se/test/default.html

Code:
<style type="text/css">
.newStyle2 {
   border: 1px solid #696;
   padding: 60px 0;
   text-align: center;
   width: 200px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: #666 0px 2px 3px;
   -moz-box-shadow: #666 0px 2px 3px;
   box-shadow: #666 0px 2px 3px;
   background: #EEFF99;
   background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33));
   background: -moz-linear-gradient(#EEFF99, #66EE33);
   background: linear-gradient(#EEFF99, #66EE33);
   -pie-background: linear-gradient(#EEFF99, #66EE33);
   behavior: url(/PIE.php);
}
</style>
</head>

<body>

<div id="layer1" style="position: relative; width: 100px; height: 100px; z-index: 3" class="newStyle2">
   <span class="newStyle1">Blabla blabla</span></div>

</body>


Please enlighten me! :(


Sat Oct 16, 2010 5:10 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1441
Post Re: What am I doing wrong?
You're trying to do a cross-domain request for the .htc file; your page at www.noxinet.com is trying to load the .htc file from www.prdesign.se. This will not work, as IE requires behaviors to be in the same domain as the HTML page.


Sat Oct 16, 2010 5:51 pm
Profile

Joined: Sat Oct 16, 2010 5:03 pm
Posts: 2
Post Re: What am I doing wrong?
Thanks Jason for the fast reply, I forgott that is was a fake domain...

I love your work!

Any plans on implementing text shadow?

/cheers


Sun Oct 17, 2010 3:49 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: Bing [Bot] 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.