<div dir="ltr">Just a further note on this.<div>This would be less of a problem is the default markup for simple tables was not set to "width=100%", i.e. if this was not hard coded in the generated HTML</div><div><br></div><div>ngā mihi</div><div><br></div><div>Simon</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 Sept 2021 at 11:39, Simon <<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Wow, all these years.<div>This is not intuitive, and won't make sense to my wiki users :-(</div><div><br></div><div>cheers</div><div><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 Sept 2021 at 00:57, Petko Yotov <<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sorry, I didn't quite notice that you're using the markup incorrectly. <br>
Simple table markup is not:<br>
<br>
   || cell ||<br>
<br>
You need to use:<br>
<br>
   ||<br>
   || cell ||<br>
<br>
Note the first double vertical bars. They can optionally be followed by <br>
table attributes such as border or width, but even if they aren't, the <br>
bars are required. Feel free to update the documentation.<br>
<br>
<br>
If you don't have the initial double bars, it will get messy. For <br>
example, a title="..." attribute or something else from another element <br>
may get absorbed into this partial table.<br>
<br>
Petko<br>
<br>
-- <br>
If you upgrade :  <a href="http://www.pmwiki.org/Upgrades" rel="noreferrer" target="_blank">http://www.pmwiki.org/Upgrades</a><br>
<br>
<br>
On 16/09/2021 01:19, Simon wrote:<br>
> Thanks very much<br>
> the only place  $BlockMarkups appears in any PHP file in this wiki is <br>
> in<br>
> pmwiki.php<br>
> <br>
> It's very odd, because if I add<br>
> ||width=*<br>
> as the first line to my simple table, I see<br>
> <table width="*" class="wikisimpletable"><br>
> (example <<a href="https://ttc.org.nz/pmwiki/pmwiki.php/FixtureCard/2022Hanmer" rel="noreferrer" target="_blank">https://ttc.org.nz/pmwiki/pmwiki.php/FixtureCard/2022Hanmer</a>>)<br>
> <br>
> If I remove that line its reverts to<br>
> <table width="100%"><br>
> <br>
> nhā mihi<br>
> <br>
> Simon<br>
> <br>
> On Wed, 15 Sept 2021 at 22:24, Petko Yotov <<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>> wrote:<br>
> <br>
>> Yes, I can confirm it works as documented, you can set the default<br>
>> simple table to any class name.<br>
>> <br>
>> Check for interference by some local customization or recipe, I'd look<br>
>> for:<br>
>> <br>
>>    $BlockMarkups['table']<br>
>> <br>
>> Petko<br>
>> <br>
>> On 15/09/2021 12:07, Simon wrote:<br>
>> ><br>
>> <a href="https://www.pmwiki.org/wiki/PmWiki/LayoutVariables#SimpleTableDefaultClassName" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/PmWiki/LayoutVariables#SimpleTableDefaultClassName</a><br>
>> ><br>
>> > Could someone please tell me if this is working when you add<br>
>> > $SimpleTableDefaultClassName [1] = "wikisimpletable";<br>
>> > to config.php.<br>
>> ><br>
>> > I'm not seeing any change to the markup, just the same '<table<br>
>> > width="100%">' from simple table markup, viz<br>
>> > || my simple table ||<br>
>> ><br>
>> > thanks<br>
>> ><br>
>> > Simon<br>
>> ><br>
>> <br>
> <br>
> _______________________________________________<br>
> pmwiki-devel mailing list<br>
> <a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>
</blockquote></div>
</blockquote></div>