Friday, August 13, 2004
Okay as predicted there were a few problems when live data was fed into my templates and I have been furiously flying through the list of bugs (mainly IE5 Mac and validation issues) fixing them. I have reverted to xhtml 1.0 transitional as we have so thousands of links to outside sources but everything is still valid xhtml so I am happy, everything is almost ready for launch. The one thing I wanted to put in my blog for future reference and as a helper to anyone who is currently experiencing similar problems are a few hacks.Firstly one that I have used again and again is a hack which only lets IE see the css:
* html #idname { property:value }
The second is the display for IE5 Mac only:
/* IE5/Mac only */
*>html>body #myID h1 {
color:#000;
}
/* end IE5/Mac only */
The next one is for fixing Safari's (until very recent) lack of min-height attribute:
.psfooter {
display:table;
height:25px;
}
This sets the display type to table which IE reads as Block and treats height as min-height.
Jon 2:33 PM Permalink
