Soldato
Im currently working on a site that I tested with the IE7 b2 yeseterday, and came across the problems that IE7 ignores CSS hacks. Althought that I have read that they will re introduce the support for the hacks into the final release, it lead me down the line of trying to make the site compatible without the use of CSS hacks.
This in turn lead me onto conditional comments, and the eventual solution of creating a separate css file for older versions of IE, to fix the box model problem.
There is an example of this listed here
The problem I had with this was that I couldnt test previous versions of IE, I have been running standalone versions of IE5 in the past however conditional comments didnt work, as it always detected the version of IE installed in the OS. So I stumbled accros this page which allows multiple versions to run correctly, and with conditional comments working.
So now my CSS is hack free, only using IE conditional comments to import a CSS file for versions less than 6, and everything seems fine.
There will be a time when the hacks are phased out and for me, it starts now. Is anyone else implementing this, or nor? What are your views?
This in turn lead me onto conditional comments, and the eventual solution of creating a separate css file for older versions of IE, to fix the box model problem.
There is an example of this listed here
The problem I had with this was that I couldnt test previous versions of IE, I have been running standalone versions of IE5 in the past however conditional comments didnt work, as it always detected the version of IE installed in the OS. So I stumbled accros this page which allows multiple versions to run correctly, and with conditional comments working.
So now my CSS is hack free, only using IE conditional comments to import a CSS file for versions less than 6, and everything seems fine.
There will be a time when the hacks are phased out and for me, it starts now. Is anyone else implementing this, or nor? What are your views?