Results 1 to 4 of 4
  1. #1
    Join Date
    May 2012
    Posts
    42
    Plugin Contributions
    0

    Default PIE.htc location - how do I know where the relative path to the html is?

    Hi there, I'm trying to use the css3 PIE.htc file for making nice rounded corners on IE.

    I've read all the posts on this site relating to it and tried all diferrent combinations of path and I've also nowgot the PIE file in loads of folders but no-matter what I can't seem to get it to get it to work on IE8.

    I'm using a virtual machine to view the site which is on my localhost (or 169.254.107.215 as my virtual machine calls it), here's the code I'm trying:

    Code:
    .rounded {
    	border: 1px solid #ccc;
    	-moz-border-radius: 10px;
    	-webkit-border-radius: 10px;
    	border-radius: 10px;
    	-moz-box-shadow: 2px 2px 3px #666;
    	-webkit-box-shadow: 2px 2px 3px #666;
    	box-shadow: 2px 2px 3px #666;
    	font-size: 20px;
    	padding: 4px 7px;
    	outline: 0;
    	-webkit-appearance: none;
    	width:250px;
    	position: relative;
    	behavior: url(PIE.htc);
    }
    Code:
    <div class="rounded">stuff stuff stuff</div>
    What am I doing wrong? Please help me

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: PIE.htc location - how do I know where the relative path to the html is?

    Quote Originally Posted by crazysarah View Post
    behavior: url(PIE.htc);
    I'm not sure if it'll help or not, but I've recently seen a reference about changing the line above to

    behavior: url(PIE.php);

    If that doesn't fix it, the following link may provide a few more clues/tips/ideas.

    http://stackoverflow.com/questions/7...css-webkit-ie8

    Cheers
    Rod

  3. #3
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PIE.htc location - how do I know where the relative path to the html is?

    It's relative to the "root" of your site, ie the same folder as the main index.php file that people hit to access your storefront.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    May 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: PIE.htc location - how do I know where the relative path to the html is?

    Yeah ppl thanks for the responses. @RodG thanks, I had tried that as well as a few other paths where I'd also stuck the file. Thanks for the link i'd been on stackoverflow but hadn't read this post.

    @DrByte I had stuck the file in every conceivable folder, and the where index.php was one of the first places I'd tried. Or at least I thought so. Turns out that was the problem. D'oh.

    Thanks again, sorry for wasting your time. Blame Bill Gates :)

 

 

Similar Threads

  1. Where is the path?
    By Avlis in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Apr 2007, 06:16 AM
  2. Where is the domain path referenced
    By moorejf in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 22 Sep 2006, 06:53 PM
  3. Where is the path to my stylesheet defined?
    By europod in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Jul 2006, 10:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR