On Mon, Jun 2, 2014 at 3:27 PM, H. Fox <hagan...@users.sourceforge.net> wrote:
> On Mon, Jun 2, 2014 at 12:25 AM, Petko Yotov <5...@5ko.fr> wrote:
>> Do you think it is better to replace the default skin, or to distribute
>> PmWiki with both skins?

I've discovered a one-skin option to consider.

Conditional Comments are only used by IE. We could use those to insert
the HTML table elements only for old versions of Internet Explorer.

For example, this

    <div id='wikileft'>
      <!--wiki:{$Group}.SideBar {$SiteGroup}.SideBar-->
    </div>

becomes something like this

    <div id='wikileft'>
    <!--[if lt IE 8 ]><td valign='top'><![endif]-->
      <!--wiki:{$Group}.SideBar {$SiteGroup}.SideBar-->
    <!--[if lt IE 8 ]></td><![endif]-->
    </div>

I've uploaded the same skin as before, but with the conditional
comments inserted for IE 6&7 compatibility.  It's minimally tested,
except to pass the W3C Validator.

  http://www.pmwiki.org/wiki/Skins/DefaultSkinWithoutTable#files

Hagan

_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to