[pmwiki-devel] Default Skin: Switch to CSS Table?

michael paulukonis xraysmalevich at gmail.com
Thu Jun 5 09:54:50 CDT 2014


>From a novice standpoint, tables were the most difficult thing to work with
when I was learning HTML.

I still dislike them, even for tabular data. Where, I grudgingly admit,
they do make sense.

For non-tabular data, however, tables add a lot of crud to a file,
obscuring intention.

-Michael Paulukonis
http://www.xradiograph.com
 <http://goog_2112721603>Interference Patterns (a blog)
<http://www.xradiograph.com%5Cinterference>
@XraysMonaLisa <https://twitter.com/XraysMonaLisa>
http://michaelpaulukonis.com
<http://www.BestAndroidResources.com>

Sent from somewhere in the Cloud
(hearthrug, by the fender)


On Tue, Jun 3, 2014 at 7:10 PM, Petko Yotov <5ko at 5ko.fr> wrote:

> H. Fox writes:
>
>> 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>
>>
>
> MSIE<8 will see this exact markup as invalid, ie. div tags in the space
> between the <table>, <tr> and <td> tags. It will probably display fine
> though, or it can definitely be made valid with some tweaking.
>
> But will this still be in line of the goals of the original skin? IIRC
> simple and easy to study and modify by a novice administrator?
>
> Recalling from previous discussions with Pm and the community, probably
> the least bad solution would be to add the (previous simpler) tableless
> skin with a different name. Keep the current default skin named "pmwiki".
> Add in the sample-config.php the two skins so people can select the one
> which they want. Not force a change to existing websites which upgrade.
>
> Petko
>
>
>
> _______________________________________________
> pmwiki-devel mailing list
> pmwiki-devel at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20140605/c3c993bd/attachment.html>


More information about the pmwiki-devel mailing list