Forums / General / ie7

ie7

Author Message

Paul Forsyth

Tuesday 20 April 2004 3:00:18 am

For those of you frustrated by the lack of progress of ie have a look at this page:

http://dean.edwards.name/IE7/

Dean has created custom files that fix ie css bugs plus it supports css that has never worked before on ie. All you need to do is link in a new css file.

It has a few performance problem as it stands but you can optimise it for your own use.

I tried it out and now i have :first-child and element hovers working :)

paul

--
http://www.visionwt.com

Alex Jones

Tuesday 20 April 2004 7:51:56 am

This is a very exciting project for for user interface design as it provides the designer/developer a lot of power missing from the world's most popular browser. I haven't had a time to play with it, but the demo pages on the site demonstrate that it works. Among the many helpful resources that the code will provide is the ability to have a set of hierarchical menus that don't need JavaScript (http://dean.edwards.name/IE7/compatibility/Pure%20CSS%20Menus.html). That alone provides a lot more flexibility in future admin interfaces, not to mention Web site interfaces. Add the ability to use common CSS2 selectors and we, as site developers will have much more control over how our work is displayed. We will finally be able to set up a container (DIVs, paragraphs, lists etc.) with a minimum and/or maximum widths as well as minimum heights. We will be able to manipulate the appearance of a container which holds a paragraph that has a specific ID or Class, ignoring any container that doesn't match that specific combination. Or for that matter, we could choose to hide any container that doesn't contain a paragraph with a specific ID or Class. And we can do all of this without involving the eZ publish engine.

For a CSS geek like me, this is big stuff. For those of you who aren't as involved in CSS, I you will find that your time would be well spent to learn a bit more about it. :)

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Clay Pereira

Thursday 13 May 2004 4:36:03 pm

Hi Paul could you see if I am adding ie-7 correctly to my pagelayout.tpl

<style type="text/css">
    @import url({"stylesheets/core.css"|ezdesign});

    @import url({"stylesheets/site.css"|ezdesign});
    @import url({"stylesheets/classes.css"|ezdesign});
    @import url({"stylesheets/cyberhome/classes-colors.css"|ezdesign});
    @import url({"stylesheets/cyberhome/site-colors.css"|ezdesign});
    @import url({"stylesheets/debug.css"|ezdesign});
</style>
{literal}
<!-- compliance patch for microsoft browsers -->
	<!--[if lt IE 7]><link rel="stylesheet"
href="http://demo.flypaperonline.com/design/shop/stylesheets/ie7-html.css" 

type="text/css"/><![endif]-->

	<!-- inline style -->
	<style type="text/css">

		input:hover {

			background: yellow;

		}

	</style>

Thank You
Clay

Paul Forsyth

Friday 14 May 2004 12:37:04 am

I think so. This is the code i use:

<!-- compliance patch for microsoft browsers -->
<!--[if lt IE 7]>
<link rel="stylesheet" href="/design/user/stylesheets/ie7-html.css" type="text/css"/>
<![endif]--> 

You may need to tell your web server to allow through .htc files. I had to here, with my virtual host configuration.

I also had a small problem with the javascript within the htc file that i fixed by hand. When i mailed Dean he said it affects a small percentage of people. Look out on his site for an update shortly - his front page suggests this.

paul

--
http://www.visionwt.com

Clay Pereira

Friday 14 May 2004 11:39:24 am

Thanks Paul.

Could you tell me what changes you made in the htc file. I still can't get it to work.

Paul Forsyth

Friday 14 May 2004 12:26:57 pm

If you look at the src:

http://dean.edwards.name/IE7/src/

The lines:

// html, xml, qirks mode?
var isXML = Boolean(ownerDocument.mimeType == "XML Document");
var isHTML = !isXML;
var quirksMode = Boolean(ownerDocument.compatMode == "BackCompat");

I changed to:

// html, xml, qirks mode?
var isXML = false;
var isHTML = !isXML;
var quirksMode = false;

For some reason the ownerDocument variable doesnt seem to be available. This was a quick hack, which made it work for me.

I hope this allows you to get it to work. Im away for a week on holidays now :)

Paul

--
http://www.visionwt.com