CSS3 PIE Forums
http://css3pie.com/forum/

Problem with gradient left
http://css3pie.com/forum/viewtopic.php?f=3&t=1926
Page 1 of 1

Author:  qvsoft [ Thu Dec 13, 2012 4:29 am ]
Post subject:  Problem with gradient left

I get problem with gradient left to right and border-left, here is the code
CSS:
Code:
.test {
   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: -webkit-linear-gradient(#EEFF99, #66EE33);
   background: -moz-linear-gradient(#EEFF99, #66EE33);
   background: -ms-linear-gradient(#EEFF99, #66EE33);
   background: -o-linear-gradient(#EEFF99, #66EE33);
   background: linear-gradient(#EEFF99, #66EE33);
   -pie-background: linear-gradient(left, #EEFF99, #66EE33);
   behavior: url(PIE.htc);
   border-left: 5px solid #E7E7E7;
   float: left;
   position:relative;
}


HTML:
Code:
<span class="test" style="width: 200px; height: 50px; display: block; float: left;">
Border Left
</span>


It works fine with:
Code:
border-right: 5px solid #E7E7E7;

but not border left

Attachments:
File comment: Wrong gradient color if only set border-left
pie.png [11.48 KiB]
Not downloaded yet

Author:  jason [ Thu Dec 13, 2012 10:25 am ]
Post subject:  Re: Problem with gradient left

That's an interesting bug, I haven't seen that one before. Would you be able to open a bug ticket in the GitHub project so I don't forget about this?

Author:  qvsoft [ Thu Dec 13, 2012 7:44 pm ]
Post subject:  Re: Problem with gradient left

I've posted a new issue here: https://github.com/lojjic/PIE/issues/253

-----

And it works if i run the html directly, for example:
C:\test.html

But does not work on:
http://localhost/test.html

-----

Hope you fix it soon as my site looks odd with this issue.
Thanks!

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/