Forums
View unanswered posts | View active topics It is currently Tue Jul 22, 2014 8:54 am



Reply to topic  [ 2 posts ] 
 Border-radius not working? 
Author Message

Joined: Thu Aug 19, 2010 7:19 am
Posts: 1
Post Border-radius not working?
First off, I'd like to thank the CSS3 PIE development team for your hard work. I really hope this works for me as I see it working for many others =)

Here is my CSS:
Code:
.fieldRow {
    clear:both;
    padding: 0;
    margin: 0;
    overflow: hidden;
    line-height:17px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    behavior: url(PIE.php);
}
.alternate, .rowMousedOver {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    behavior: url(PIE.php);
}


and here is some sample HTML:
Code:
<div class="fieldRow alternate">
                <div class="label"><label id="title_label" for="title"> Title: </label></div>
                <div class="fieldWrapper required text">
                    <div class="cellValue"><input type="text" onchange="validateField(this)" name="title" id="title" value="Tax Free Savings Accounts" disabled=""></div>
                </div>
            </div>


and via javascript I add rowMousedOver to the fieldRow when it is hovered.

Any idea as to why this is not working? I've also tried using behavior: url(PIE.htc), but had no luck with that either.

Thanks!


Thu Aug 19, 2010 7:21 am
Profile

Joined: Sat Aug 21, 2010 10:44 pm
Posts: 1
Post Re: Border-radius not working?
I just got it working after a bit of struggling. Most likely, your path to PIE.php is incorrect. Assuming my reading of the documentation is correct, this path doesn't work like your standard relative css paths. It's determined differently because the parsing is done by IE not PIE. Check out the list of known issues for more details.

As for your problem, I suggest placing both PIE.htc and PIE.php at the root directory of your domain. For

Code:
your-domain.com/PIE.htc


Then, in your css files use an absolute path in your 'behavior' rule. So it looks like:

Code:
behavior: url(/PIE.php);


Anyway keep messing with it, cause it works and it's worth the effort.


Sat Aug 21, 2010 10:56 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

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