css3pie

CSS3 and PIE not working in IE 8

依然范特西╮ 提交于 2019-11-30 12:51:57
问题 Im trying to demo CSS3PIE and it wont work in IE at all. HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <link href="test.css" type="text/css" rel="stylesheet"> <title>Test</title> </head> <body> <div id="title"></div> <div id="sub_title"></div> <div id="main_area"> <div id="date_area"></div> </div> </body> </html> css: body{ margin: 0 auto; } #title{ margin: 0 auto; width: 100%;

where do I put the PIE.htc file (for making IE work with CSS3) when I'm using cakephp

跟風遠走 提交于 2019-11-30 12:00:22
I'm trying to use PIE.htc , which is a script which hopefully will allow me to use CSS3 features in IE6-8. I'm also using Cakephp (which I'm growing to love) According to the instructions I just stick the PIE.htc file anywhere I want to and then add behavior: url(path/to/PIE.htc); to the CSS. So I have: input[type=text]{ width:348px; height:30px; border:1px solid #ddd; padding:3px; background:url(../img/formfieldbg.gif) repeat-x; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; vertical-align:top; behavior: url(path/to/PIE.htc);} It also says: Note: this path is

CSS3 and PIE not working in IE 8

二次信任 提交于 2019-11-30 03:26:34
Im trying to demo CSS3PIE and it wont work in IE at all. HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <link href="test.css" type="text/css" rel="stylesheet"> <title>Test</title> </head> <body> <div id="title"></div> <div id="sub_title"></div> <div id="main_area"> <div id="date_area"></div> </div> </body> </html> css: body{ margin: 0 auto; } #title{ margin: 0 auto; width: 100%; height: 40px; background-color: white; } #sub_title{ margin: 0 auto; width: 100%; height: 25px; background

How to apply -webkit-gradient to IE?

徘徊边缘 提交于 2019-11-29 23:13:57
问题 I have the following css code: -webkit-gradient(linear, left bottom, left top, from(#5AE), to(#036)); Which displays the background very nicely in Chrome. Internet explorer just displays a white background. I tried applying CSS 3 pie, which didnt change anything. Following is my css: body { behavior: url(css3pie/PIE.htc); color: #000000; font-family: Arial, Helvetica, sans-serif; margin: 0px; padding: 0px; /*background:url("../image/bg.png") repeat scroll 0 0 transparent;*/ background:

where do I put the PIE.htc file (for making IE work with CSS3) when I'm using cakephp

孤街浪徒 提交于 2019-11-29 18:12:55
问题 I'm trying to use PIE.htc, which is a script which hopefully will allow me to use CSS3 features in IE6-8. I'm also using Cakephp (which I'm growing to love) According to the instructions I just stick the PIE.htc file anywhere I want to and then add behavior: url(path/to/PIE.htc); to the CSS. So I have: input[type=text]{ width:348px; height:30px; border:1px solid #ddd; padding:3px; background:url(../img/formfieldbg.gif) repeat-x; -moz-border-radius: 5px; -webkit-border-radius: 5px; border

Modernizr, html5shiv, ie7.js, and CSS3 Pie. Which to use and when?

南笙酒味 提交于 2019-11-28 15:09:58
I'm just starting to use HTML5 and CSS3 in my documents. I understand the need for JavaScript to bring Internet Explorer up to speed with these new tags and styles, but I don't know which to use and when! My plan was to use html5shiv and IE9.js to look after the HTML5 tags as well as the transparent pngs (and whatever other pesky errors they fix) but then Modernizr and CSS3 Pie were brought to my attention. My question is, if I use Modernizr, does it look after my need for html5shiv as well as IE9.js? Or should I include these as well? What is the overlap, if any? And what does CSS3 Pie do

css3pie in MVC, where to place the pie.htc file?

佐手、 提交于 2019-11-28 08:30:51
I've been trying to use the Css3pie in my MVC project to render rounded corner panel but have no luck so far. I follow the sample with normal html page and it works perfectly but not in my MVC project. I think it is something to do with the path of the 'pie.htc' file that is being confused in MVC I place the 'pie.htc' file in project folder (root) and in my css file, i use: behavior: url(/PIE.htc); I think the MVC router needs to be modified to accept htc file extension? Sorry im new with MVC. Has anyone tried pie.htc and have it working in MVC project, please help? Thanks! As a side note (and

Using CSS3Pie htc for border-radius in IE8

社会主义新天地 提交于 2019-11-27 20:16:50
I'm using the CSS3Pie htc file to enable border-radius in IE8, but I'm getting no effect. My CSS is: button { border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; behavior: url(PIE.htc); } I've put PIE.htc in the public root (as is done on the CSS3PIE demo page), having tried in the same folder, using a relative uri and an absolute uri. The demos are working; just not my code! Thanks, Adam Daniel Rehner Try adding position:relative; z-index: 0; as suggested here http://css3pie.com/forum/viewtopic.php?f=3&t=10 This question is similar to the one posted here: CSS3 PIE -

Modernizr, html5shiv, ie7.js, and CSS3 Pie. Which to use and when?

十年热恋 提交于 2019-11-27 09:02:13
问题 I'm just starting to use HTML5 and CSS3 in my documents. I understand the need for JavaScript to bring Internet Explorer up to speed with these new tags and styles, but I don't know which to use and when! My plan was to use html5shiv and IE9.js to look after the HTML5 tags as well as the transparent pngs (and whatever other pesky errors they fix) but then Modernizr and CSS3 Pie were brought to my attention. My question is, if I use Modernizr, does it look after my need for html5shiv as well

css3pie in MVC, where to place the pie.htc file?

帅比萌擦擦* 提交于 2019-11-27 02:23:31
问题 I've been trying to use the Css3pie in my MVC project to render rounded corner panel but have no luck so far. I follow the sample with normal html page and it works perfectly but not in my MVC project. I think it is something to do with the path of the 'pie.htc' file that is being confused in MVC I place the 'pie.htc' file in project folder (root) and in my css file, i use: behavior: url(/PIE.htc); I think the MVC router needs to be modified to accept htc file extension? Sorry im new with MVC