Forums
View unanswered posts | View active topics It is currently Wed Aug 20, 2014 10:20 pm



Reply to topic  [ 3 posts ] 
 Just can't get this to do anything 
Author Message

Joined: Mon Sep 20, 2010 9:33 am
Posts: 3
Post Just can't get this to do anything
Hi,

I'm trying to just get a simple rounded border to work in IE, but adding the .htc file does nothing. I've tried with the PHP version too but it's exactly the same - just does nothing at all.

Can anyone see what's wrong with this: http://tinyurl.com/37zbbcx?

Thanks

[EDIT]
I should post the code, and also state that I've tried this exact code on a different (dedicated) server which is definitely delivering the correct content type for .htc files, and it still does nothing. The .htc file is in the root, along with the HTML page.

The code:

Code:
<!DOCTYPE HTML>
<html>
<head>
<title>CSS PIE TEST</title>
<style type="text/css">
#test
{
    width: 200px;
    height: 200px;
    color: #fff;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    background: #999;
    behavior: url(PIE.htc);
}
</style>
</head>
<body>
    <div id="test">
        Test
    </div>
</body>
</html>


Mon Sep 20, 2010 9:35 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1441
Post Re: Just can't get this to do anything
You're only specifying the proprietary -webkit- and -moz- prefixed properties. PIE uses the standard border-radius.


Mon Sep 20, 2010 6:15 pm
Profile

Joined: Mon Sep 20, 2010 9:33 am
Posts: 3
Post Re: Just can't get this to do anything
I knew it would be something head-smackingly obvious :) That's done the trick, thanks Jason!


Tue Sep 21, 2010 2:50 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 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

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