[pmwiki-users] IE7 Skins Question

Hans design5 at softflow.co.uk
Mon Feb 5 12:52:48 CST 2007


I think I got the solution:

in skins/triad/css/layout-triad.css
add to #header the following: min-height:1%
so it reads:

#header { padding:5px 5px 5px 10px;
          margin:0;
          min-height:1%;}
* html #header { height:1% } /*for IE */


the last line is for IE6 and below, and makes them apply styling to
the div (often IE does not do that and gets dimensions wrong).
Adding min-height:1% seems to have the same effect on IE7.
It will also be interpreted by other browsers, but since it sets a
very small minimum height it should be okay.

I will put this change into the next release. But please try it out!


Hans




More information about the pmwiki-users mailing list