<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div style="font-family: sans-serif;">
<span dir="ltr" style="margin-top:0; margin-bottom:0;">Wow you guys are fast!</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">Thanks a lot! I'll check out both the Cookbook and the additional style solution!</span> <br> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">Best wishes</span> <br> <span dir="ltr" style="margin-top:0; margin-bottom:0;">Thomas</span> <br>
</div>
<div>
<br>
<div>
<p>15 Jun 2023 05:54:42 Petko Yotov <5ko@5ko.fr>:</p>
</div>
<blockquote style="margin:0;border-left:3px solid #ccc; padding-left:10px">
<div>
Yes, you can activate CSS for specific pages, but there may be a better way.<br><br>Create a file pub/css/MyGroup.MyPage.css and it will be loaded when a visitor opens the MyGroup.MyPage page.<br><br>However there may be a better way: just add to your local.css styles for specific classes of elements:<br><br> .zero-line-height {<br> line-height: 0;<br> }<br><br><br>Then in the wiki page, wrap your images in a division block of the same class:<br><br> >>zero-line-height<<<br> Your image links here<br> >><<<br><br>Note that some email clients may wrongly format the above lines like replies.<br><br>The first line is ">>zero-line-height<<" and the last line is ">><<".<br><br>Enabling line-height for the specific block will allow you to have some normally formatted text above and below the images.<br><br>Petko<br><br><br>-- <br>If you upgrade : https://www.pmwiki.org/Upgrades<br><br>On 15/06/2023 00:12, Thomas Hirtenlehner wrote:<br>
<blockquote style="margin:0;border-left:3px solid #ccc; padding-left:10px">
hi Everyone!<br>I took a big picture, chopped it up into 9 parts and included it on a<br>page with links to other pages.<br>The plan being to make a big clickable image as starting page.<br>However the line spacing foiled my attempts, as I don't seem to be<br>able to get rid of it.<br>I did find this page:<br>https://www.pmwiki.org/wiki/Cookbook/SuperscriptLineSpacing<br>and using what I learned there, I could set the line-height for this<br>group to 0 by adding the respective line to the style sheet.<br>This, of course, changed the line height for the whole group to 0. I<br>could create a new group just for such pages and link back and forth<br>from the actual group to this helper group, but I'd rather keep my<br>projects in their respective groups.<br>Is there a way to just activate this style for certain pages?<br>best regards<br>Thomas<br>
</blockquote>
</div>
</blockquote>
</div>
</body>
</html>