Skip to main content

This enables you to do CSS 3 things for IE. It also elimnates the need to deal with transparent PNGs with IE6

Project description

Introduction

This product allows you to make sites faster since you don’t need to worry about some of the hang ups from Internet Explorer.

This Product works in Plone 2.5, 3, 4+

1.) If you want to use transparent pngs for your IE6 sites add the following to a dtml method css stylesheet

/* <dtml-with base_properties> (do not remove this :) */
/* <dtml-call "REQUEST.set('portal_url', portal_url())"> (not this either :) */
 *html  img, div, a, input { behavior: url(&dtml-portal_url;/iepngfix.htc); } to a IE6 only stylesheet.
 /* </dtml-with> */

2.) New features include being able to do CSS 3 (Uses css3pie http://css3pie.com/) type things in IE 6,7,8. Things like border-radius, box-shadow, text-shadow.

A.) To use the CSS 3 features make a ie only css file and add your file into the css area of main_template. In Plone 4 you can just add the condition for the css registry file.

<!–[if lt IE 9]><link href=”IEFixes_foo.css” media=”screen” type=”text/css” rel=”stylesheet”> <![endif]–>

B.) Add these 2 lines to your css class or id.

behavior: url(&dtml-portal_url;/PIE.htc);
position: relative;

Make a list of classes that need to be changed in IE in your IEFixes_foo.css file. Example

#portal-personaltools,
.portalHeader,
.fooclass {
 behavior: url(&dtml-portal_url;/PIE.htc);
    position: relative;
    }

C.) Issues with CSSPie.. You can’t do less then all four border-radius easily:

.portalHeader {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}

should be:

.portalHeader {
    border-radius: 10px 0px 0px 10px;
}

Also, if you are are doing gradients there is a hook:

#portal-header {
    -pie-background: linear-gradient(#D3D4D5, #FEFEFE); /*PIE*/
}

Changelog

2.0 - (2012-08-01)

  • Hid the ability for transparent png’s in IE6 since it was a load for Internet Explorer other than IE6. Directions for reenabling is in the README.txt file.

1.0.2 (2011-05-26)

  • Added support for transparent png’s(IE6) and css3pie. This allows for Internet Explorer IE 6,7,8 to do css 3 type things like rounded corners and gradients.

0.1 - Unreleased

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

Products.EasyAsPiIE-2.0.zip (81.3 kB view details)

Uploaded Source

Products.EasyAsPiIE-2.0.tar.gz (70.9 kB view details)

Uploaded Source

File details

Details for the file Products.EasyAsPiIE-2.0.zip.

File metadata

File hashes

Hashes for Products.EasyAsPiIE-2.0.zip
Algorithm Hash digest
SHA256 be909fb7d39de92a50b852ecf159adca213499d10781c416f16e27339a534642
MD5 f8dafb211f391f22f282549514556f34
BLAKE2b-256 48bc4db6f126fd7366fb4c7748b35db400a308794c6274c6123b6db085a68518

See more details on using hashes here.

File details

Details for the file Products.EasyAsPiIE-2.0.tar.gz.

File metadata

File hashes

Hashes for Products.EasyAsPiIE-2.0.tar.gz
Algorithm Hash digest
SHA256 2f92566e746fad1bcc48a308f751b15ee2fb02c5aa87391ded16af0a8f159595
MD5 308fd0f99f7990beba38bd5fcf27e34a
BLAKE2b-256 c738ba76a1a30fa4e5657629c366904ca4560af133e63a4722d56d6795ae58eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page