<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear Petko,<div><br></div><div>Thanks for your answer. Sorry for my previous email, my email client didn't show your answer, that's why I asked again.</div><div><br></div><div>I could track down the problem to a cookbook recipe called extendmarkup.php . Once I downloaded the newest version, the problem disappeared.</div><div><br></div><div>Thanks!</div><div><br></div><div>Laszlo</div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 26, 2023 at 5:12 PM Petko Yotov <<a href="mailto:5ko@5ko.fr">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">On 26/08/2023 16:54, Jabba Laci wrote:<br>
> I had to update my homepage to the latest pmwiki version. The<br>
> migration went well except one little thing.<br>
> <br>
> In the old version I had tables like this:<br>
> <br>
> %rframe bgcolor=lightblue%Attach:face.jpg"@hello"<br>
> ||'''Name''' ||Myself<br>
> ||'''Age''' ||20<br>
> <br>
> Here, the table appeared on the left side and the image appeared on<br>
> the right. They were next to one another.<br>
> <br>
> However, the new pmwiki renders it differently. The image is still on<br>
> the right side, but the table appears _below_ it on the left side, not<br>
> next to it.<br>
<br>
I suspect there is a <table width='100%'> tag in the HTML so the table <br>
is actually 100% wide and thus drops below the picture.<br>
<br>
I think a "||" table definition is missing at the start of the table, it <br>
should probably look like this:<br>
<br>
%rframe bgcolor=lightblue%Attach:face.jpg"@hello"<br>
||<br>
||'''Name''' ||Myself<br>
||'''Age''' ||20<br>
<br>
When you don't have a table definition like "||", or "|| border=1 <br>
class=simpletable", PmWiki will reuse a previous table definition from <br>
the same page, or from an included page, or a borderless table that is <br>
100% wide.<br>
<br>
PmWiki hasn't changed this behaviour for years. Is it possible you had a <br>
table near the top of the page that included a "||" definition, and you <br>
removed that table?<br>
<br>
For historical reasons, because many wikis may rely on this behaviour, <br>
we don't currently have plans to change it in the core installation. But <br>
as it may appear counter-intuitive, in the documentation we strongly <br>
recommend people to always write the initial "||" table definition for <br>
every table:<br>
<br>
<a href="https://www.pmwiki.org/wiki/PmWiki/Tables" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/PmWiki/Tables</a><br>
<br>
Petko<br>
</blockquote></div>